Skip to main content

Interface: PluginStoreView<T>

Defined in: model/plugin.ts:18

Another plugin's store, read-only. Dropping set/remove is what makes ownership legible at the call site: a reviewer never has to check by hand which plugin a store call owns.

Extended by​

Type Parameters​

T​

T extends object

Properties​

all​

readonly all: ReadonlyMap<EntryId, T>

Defined in: model/plugin.ts:20

Methods​

get()​

get(id): T | undefined

Defined in: model/plugin.ts:19

Parameters​

id​

string | EntryId

Returns​

T | undefined