Skip to Content

ExtractState<S>

ExtractState<S> = S extends object ? T : never

Defined in: packages/pulsar-core/src/utils/createBoundedUseStore.ts:14 

The state type of a Zustand store: the return type of its getState method.

Type Parameters

S

S

The store type.

Last updated on