What it does
Represents the state of the router.
How to use
Interface Overview
Interface Description
RouterState is a tree of activated routes. Every node in this tree knows about the "consumed" URL segments, the extracted parameters, and the resolved data.
See ActivatedRoute
for more information.
Interface Details
exported from @angular/router/index, defined in @angular/router/src/router_state.ts