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

Method constructor

packages/core/test/acceptance/di_spec.ts:1013–1016  ·  view source on GitHub ↗
(
            @Optional() readonly dirA: DirA,
            @Optional() readonly dirB: DirB,
          )

Source from the content-addressed store, hash-verified

1011 })
1012 class Child {
1013 constructor(
1014 @Optional() readonly dirA: DirA,
1015 @Optional() readonly dirB: DirB,
1016 ) {}
1017 }
1018 @Component({
1019 selector: 'projector',

Callers

nothing calls this directly

Calls 3

OptionalInterface · 0.90
InjectInterface · 0.90
SkipSelfInterface · 0.90

Tested by

no test coverage detected