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

Method constructor

packages/core/test/scope/transient-scope.spec.ts:13–18  ·  view source on GitHub ↗
(
      @Inject(INQUIRER) private inquirer: any,
      @Inject(SOME_TOKEN) public token: string,
    )

Source from the content-addressed store, hash-verified

11 public context: string;
12
13 constructor(
14 @Inject(INQUIRER) private inquirer: any,
15 @Inject(SOME_TOKEN) public token: string,
16 ) {
17 this.context = inquirer.constructor.name;
18 }
19 }
20
21 @Injectable()

Callers

nothing calls this directly

Calls 1

InjectFunction · 0.90

Tested by

no test coverage detected