TypescriptLibStateSlot
The shared-state slot stored on globalThis.
Import:
import type { TypescriptLibStateSlot } from '@mnaoumov/typescript-lib/typescript-lib-state';Signature:
export interface TypescriptLibStateSlotProperties
| Property | Type | Description |
|---|---|---|
| values | Record<string, ValueWrapper> | The shared values, each in a ValueWrapper so a holder can replace the value in place. |
| version | number | The version of the slot shape the creator wrote. Informational: the shape only changes additively. |
Links to this page: