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 Parameter | Default type |
|---|---|
T extends ReactiveElement | ReactiveElement |
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
| Parameter | Type |
|---|---|
value | ClassAccessorDecoratorTarget<C, V> |
context | ClassAccessorDecoratorContext<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
| Parameter | Type |
|---|---|
protoOrDescriptor | Proto |
name? | K |
Returns
FieldMustMatchProvidedType<Proto, K, SubContainerProvider<T>>
Remarks
Supports both TC39 and legacy experimental decorators.