defineSharedObject
defineSharedObject<
StoreType,ID,State>(store,selector): typeof__class
Defined in: core/src/object.ts:18
Type Parameters
Section titled “Type Parameters”StoreType
Section titled “StoreType”StoreType extends SharedStoreType
ID extends string
State extends object
Parameters
Section titled “Parameters”StoreType
selector
Section titled “selector”(store, id) => State
Returns
Section titled “Returns”typeof __class