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

Method constructor

packages/core/test/injector/injector.spec.ts:938–941  ·  view source on GitHub ↗
(
          private dep1: FixtureDep1,
          @Optional() private dep2: FixtureDep2,
        )

Source from the content-addressed store, hash-verified

936 @Injectable()
937 class FixtureClass {
938 constructor(
939 private dep1: FixtureDep1,
940 @Optional() private dep2: FixtureDep2,
941 ) {}
942 }
943
944 const wrapper = new InstanceWrapper({ metatype: FixtureClass });

Callers

nothing calls this directly

Calls 2

OptionalFunction · 0.90
InjectFunction · 0.90

Tested by

no test coverage detected