Interface: ContainerProviderDecorator()<E>
Defined in: src/wirestate-lit/provision/container-provide.ts:15
Represents the type returned by containerProvide.
Remarks
Supports both TC39 and legacy experimental decorators.
Type Parameters
| Type Parameter | Default type |
|---|---|
E extends ReactiveElement | ReactiveElement |
Call Signature
ts
ContainerProviderDecorator<C, V>(value: ClassAccessorDecoratorTarget<C, V>, context: ClassAccessorDecoratorContext<C, V>): void;Defined in: src/wirestate-lit/provision/container-provide.ts:17
Represents the type returned by containerProvide.
Type Parameters
| Type Parameter |
|---|
C extends Interface<Omit<ReactiveElement, "renderRoot">> |
V extends ContainerProvider<E> |
Parameters
| Parameter | Type |
|---|---|
value | ClassAccessorDecoratorTarget<C, V> |
context | ClassAccessorDecoratorContext<C, V> |
Returns
void
Remarks
Supports both TC39 and legacy experimental decorators.
Call Signature
ts
ContainerProviderDecorator<K, Proto>(protoOrDescriptor: Proto, name?: K): FieldMustMatchProvidedType<Proto, K, ContainerProvider<E>>;Defined in: src/wirestate-lit/provision/container-provide.ts:22
Represents the type returned by containerProvide.
Type Parameters
| Type Parameter |
|---|
K extends PropertyKey |
Proto extends Interface<Omit<ReactiveElement, "renderRoot">> |
Parameters
| Parameter | Type |
|---|---|
protoOrDescriptor | Proto |
name? | K |
Returns
FieldMustMatchProvidedType<Proto, K, ContainerProvider<E>>
Remarks
Supports both TC39 and legacy experimental decorators.