Skip to content

GlobalStateMap

GlobalStateMap<KeyType, ValueType>(options): (key) => GlobalStateValue<ValueType>

A mapping of one type to another in global state

Type parameters

• KeyType

• ValueType

Parameters

• options

• options.allowPotentialCollisions?: boolean

• options.maxKeys: number

• options.prefix?: string

Returns

Function

Parameters

• key: KeyType

Returns

GlobalStateValue<ValueType>

Source

types/global.d.ts:638