Decoration<AddS extends Record<string, any> = Record<never, never>, AddEM extends EventMapBase = EmptyEventMap>
interfaceWhat a decoration contributes to a store: some slices, some events, either possibly empty.
Phantom. Never constructed, and never present at runtime; it exists so a library can state
its contribution once and have
Decorated and StoreDecorator read it back.Type parameters
| Name | Type | Description |
|---|---|---|
AddS | extends Record<string, any> | |
AddEM | extends EventMapBase |