( snapshot: ActivatedRouteSnapshot, )
| 35 | }; |
| 36 | |
| 37 | export function createPreMatchRouteSnapshot( |
| 38 | snapshot: ActivatedRouteSnapshot, |
| 39 | ): PartialMatchRouteSnapshot { |
| 40 | return { |
| 41 | routeConfig: snapshot.routeConfig, |
| 42 | url: snapshot.url, |
| 43 | params: snapshot.params, |
| 44 | queryParams: snapshot.queryParams, |
| 45 | fragment: snapshot.fragment, |
| 46 | data: snapshot.data, |
| 47 | outlet: snapshot.outlet, |
| 48 | title: snapshot.title, |
| 49 | paramMap: snapshot.paramMap, |
| 50 | queryParamMap: snapshot.queryParamMap, |
| 51 | }; |
| 52 | } |
| 53 | |
| 54 | export function matchWithChecks( |
| 55 | segmentGroup: UrlSegmentGroup, |
no outgoing calls
no test coverage detected
searching dependent graphs…