MCPcopy
hub / github.com/angular/angular / constructor

Method constructor

packages/platform-browser/test/testing_public_spec.ts:799–799  ·  view source on GitHub ↗
(@Inject(aTok) a: any, @Inject(bTok) b: any)

Source from the content-addressed store, hash-verified

797 class MyComp {
798 // Component is eager, which makes all of its deps eager
799 constructor(@Inject(aTok) a: any, @Inject(bTok) b: any) {}
800 }
801
802 it('should inject providers that were declared before it', () => {

Callers

nothing calls this directly

Calls 1

InjectInterface · 0.90

Tested by

no test coverage detected