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

Method constructor

packages/router/test/directives/router_outlet.spec.ts:776–778  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

774 })
775 class Child {
776 constructor() {
777 childTokenValue = inject(TOKEN as any, {optional: true});
778 }
779 }
780
781 @NgModule({

Callers

nothing calls this directly

Calls 1

injectFunction · 0.90

Tested by

no test coverage detected