MCPcopy
hub / github.com/nestjs/nest / constructor

Method constructor

integration/injector/e2e/injector.spec.ts:166–170  ·  view source on GitHub ↗
(
            @Inject(ConsumerService) public readonly consumer: ConsumerService,
            @Inject(helperToken(index % helpers.length))
            public readonly helper: unknown,
          )

Source from the content-addressed store, hash-verified

164 @Injectable()
165 class Sibling {
166 constructor(
167 @Inject(ConsumerService) public readonly consumer: ConsumerService,
168 @Inject(helperToken(index % helpers.length))
169 public readonly helper: unknown,
170 ) {}
171 }
172
173 Object.defineProperty(Sibling, 'name', { value: `Sibling_${index}` });

Callers

nothing calls this directly

Calls 2

InjectFunction · 0.90
helperTokenFunction · 0.85

Tested by

no test coverage detected