MCPcopy Create free account
hub / github.com/angular/angular / provideRouter

Function provideRouter

packages/router/test/router_resource_spec.ts:50–55  ·  view source on GitHub ↗
(
  routes: InternalRoute[],
  ...features: RouterFeatures[]
)

Source from the content-addressed store, hash-verified

48};
49
50export function provideRouter(
51 routes: InternalRoute[],
52 ...features: RouterFeatures[]
53): EnvironmentProviders {
54 return internalProvideRouter(routes, ...features);
55}
56
57type ActivatedRouteInternal = ActivatedRoute & {
58 resources?: {[key: string]: Resource<unknown>};

Calls

no outgoing calls

Tested by 3

setUpRouterFunction · 0.72