Open History to see the last commit
Call Signature#
function createStore<T>(getValue): ReadonlyStore<T>;
Defined in: node_modules/.pnpm/@tanstack+store@0.11.1/node_modules/@tanstack/store/dist/store.d.ts:30
Type Parameters#
T#
T
Parameters#
getValue#
(prev?) => T
Returns#
Call Signature#
function createStore<T>(initialValue): Store<T>;
Defined in: node_modules/.pnpm/@tanstack+store@0.11.1/node_modules/@tanstack/store/dist/store.d.ts:31
Type Parameters#
T#
T
Parameters#
initialValue#
T
Returns#
Store<T>
Call Signature#
function createStore<T, TActions>(initialValue, actions): Store<T, TActions>;
Defined in: node_modules/.pnpm/@tanstack+store@0.11.1/node_modules/@tanstack/store/dist/store.d.ts:32
Type Parameters#
T#
T
TActions#
TActions extends StoreActionMap
Parameters#
initialValue#
NonFunction<T>
actions#
StoreActionsFactory<T, TActions>
Returns#
Store<T, TActions>