Ir al contenido

ConstructorInjectionStatement

@aurorajs.dev/catalyst-cli


@aurorajs.dev/catalyst-cli / generator/domain/model / ConstructorInjectionStatement

Defined in: generator/domain/model.ts:426

Declaration of a constructor parameter marked for DI (constructor(private readonly x: X)). Consumed by the constructorInjection helper in code-gen.

className: string

Defined in: generator/domain/model.ts:428

Type name / class used as the parameter type.


optional readonly?: boolean

Defined in: generator/domain/model.ts:429


scope: "private" | "protected" | "public"

Defined in: generator/domain/model.ts:430


variableName: string

Defined in: generator/domain/model.ts:432

Identifier the parameter binds to.