Skip to content

Interface: SubContainerProviderDecorator()<T>

Defined in: src/wirestate-lit/provision/sub-container-provide.ts:15

Represents type returned by subContainerProvide.

Remarks

Supports both TC39 and legacy experimental decorators.

Type Parameters

Type ParameterDefault type
T extends ReactiveElementReactiveElement

Call Signature

ts
SubContainerProviderDecorator<C, V>(value: ClassAccessorDecoratorTarget<C, V>, context: ClassAccessorDecoratorContext<C, V>): void;

Defined in: src/wirestate-lit/provision/sub-container-provide.ts:17

Represents type returned by subContainerProvide.

Type Parameters

Type Parameter
C extends Interface<Omit<ReactiveElement, "renderRoot">>
V extends SubContainerProvider<T>

Parameters

ParameterType
valueClassAccessorDecoratorTarget<C, V>
contextClassAccessorDecoratorContext<C, V>

Returns

void

Remarks

Supports both TC39 and legacy experimental decorators.

Call Signature

ts
SubContainerProviderDecorator<K, Proto>(protoOrDescriptor: Proto, name?: K): FieldMustMatchProvidedType<Proto, K, SubContainerProvider<T>>;

Defined in: src/wirestate-lit/provision/sub-container-provide.ts:22

Represents type returned by subContainerProvide.

Type Parameters

Type Parameter
K extends PropertyKey
Proto extends Interface<Omit<ReactiveElement, "renderRoot">>

Parameters

ParameterType
protoOrDescriptorProto
name?K

Returns

FieldMustMatchProvidedType<Proto, K, SubContainerProvider<T>>

Remarks

Supports both TC39 and legacy experimental decorators.