Skip to main content

Interface: WritableStore<T>

Extends

Type Parameters

T

Properties

get()

get: () => T

Returns

T

Inherited from

ReadableStore.get

Defined in

lexical-builder/src/Store.ts:3


set()

set: (value) => void

Parameters

value: T

Returns

void

Defined in

lexical-builder/src/Store.ts:7


subscribe()

subscribe: (callback) => () => void

Parameters

callback: StoreSubscriber<T>

Returns

Function

Returns

void

Inherited from

ReadableStore.subscribe

Defined in

lexical-builder/src/Store.ts:4