(e: Event | PrivateRouterEvents)
| 656 | } |
| 657 | export type PrivateRouterEvents = BeforeActivateRoutes | RedirectRequest | BeforeRoutesRecognized; |
| 658 | export function isPublicRouterEvent(e: Event | PrivateRouterEvents): e is Event { |
| 659 | return ( |
| 660 | !(e instanceof BeforeActivateRoutes) && |
| 661 | !(e instanceof RedirectRequest) && |
| 662 | !(e instanceof BeforeRoutesRecognized) |
| 663 | ); |
| 664 | } |
| 665 | |
| 666 | /** |
| 667 | * Router events that allow you to track the lifecycle of the router. |
no outgoing calls
no test coverage detected
searching dependent graphs…