Skip to content

Interface: InjectableDecorator()

Defined in: src/wirestate-core/metadata/metadata-injectable.ts:18

Describes the decorator returned by Injectable.

Remarks

Supports both TC39 and legacy experimental decorators.

Call Signature

ts
InjectableDecorator<T>(value: T, context: ClassDecoratorContext): void;

Defined in: src/wirestate-core/metadata/metadata-injectable.ts:20

Describes the decorator returned by Injectable.

Type Parameters

Type Parameter
T extends Newable<object>

Parameters

ParameterType
valueT
contextClassDecoratorContext

Returns

void

Remarks

Supports both TC39 and legacy experimental decorators.

Call Signature

ts
InjectableDecorator<T>(value: T): void;

Defined in: src/wirestate-core/metadata/metadata-injectable.ts:22

Describes the decorator returned by Injectable.

Type Parameters

Type Parameter
T extends Newable<object>

Parameters

ParameterType
valueT

Returns

void

Remarks

Supports both TC39 and legacy experimental decorators.