MCPcopy Index your code
hub / github.com/angular/angular / createActivatedRouteSnapshot

Function createActivatedRouteSnapshot

packages/router/test/router_state.spec.ts:284–298  ·  view source on GitHub ↗
(cmp: string)

Source from the content-addressed store, hash-verified

282});
283
284function createActivatedRouteSnapshot(cmp: string) {
285 return new (ActivatedRouteSnapshot as any)(
286 [],
287 null,
288 null,
289 null,
290 null,
291 null,
292 cmp,
293 null,
294 null,
295 -1,
296 null!,
297 );
298}
299
300function createActivatedRoute(cmp: string) {
301 return new (ActivatedRoute as any)(

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…