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

Method constructor

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

Source from the content-addressed store, hash-verified

1078 })
1079 class Child {
1080 constructor(
1081 @Optional() readonly dirA: DirA,
1082 @Optional() readonly dirB: DirB,
1083 ) {}
1084 }
1085 @Component({
1086 selector: 'projector',

Callers

nothing calls this directly

Calls 3

OptionalInterface · 0.90
InjectInterface · 0.90
SkipSelfInterface · 0.90

Tested by

no test coverage detected