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

Method constructor

packages/core/test/acceptance/di_spec.ts:1374–1377  ·  view source on GitHub ↗
(
                public injector: Injector,
                @SkipSelf() public parentInjector: Injector,
              )

Source from the content-addressed store, hash-verified

1372 })
1373 class ChildComponent {
1374 constructor(
1375 public injector: Injector,
1376 @SkipSelf() public parentInjector: Injector,
1377 ) {}
1378 }
1379
1380 const fixture = TestBed.createComponent(ParentComponent);

Callers

nothing calls this directly

Calls 5

SkipSelfInterface · 0.90
HostClass · 0.90
OptionalInterface · 0.90
InjectInterface · 0.90
getMethod · 0.65

Tested by

no test coverage detected