types.nope.IClassDescriptor - ZeMA-gGmbH/NoPE-JS GitHub Wiki

Interface: IClassDescriptor<T>

types.nope.IClassDescriptor

Type parameters

Name Type
T extends INopeModule = INopeModule

Properties

factorySelector

Optional factorySelector: string | symbol | (string | symbol)[]

Selector for a the Factory.

Memberof

Y


name

name: string

Name of the Element.

Memberof

IDescriptor


options

Optional options: Object

Additional Options

Memberof

Y

Type declaration

Name Type
addition? { args: any[] ; name: "whenTargetTagged" | "whenTargetNamed" | "onActivation" }
addition.args any[]
addition.name "whenTargetTagged" | "whenTargetNamed" | "onActivation"
factoryCallback? (context: Context) => (...args: any[]) => T
scope? "inRequestScope" | "inSingletonScope" | "inTransientScope"
toConstant? boolean

selector

Optional selector: string | symbol | (string | symbol)[]

Identifier for a Single Element

Memberof

Y


type

Optional type: any

Contains the Type of Constant or something similar

Memberof

Y