Skip to content

TypescriptLibStateSlot

The shared-state slot stored on globalThis.

Import:

import type { TypescriptLibStateSlot } from '@mnaoumov/typescript-lib/typescript-lib-state';

Signature:

export interface TypescriptLibStateSlot

Properties

PropertyTypeDescription
valuesRecord<string, ValueWrapper>The shared values, each in a ValueWrapper so a holder can replace the value in place.
versionnumberThe version of the slot shape the creator wrote. Informational: the shape only changes additively.

Links to this page: