import type { Store } from '@just-web/states' import { createContext } from 'react' /** * Creates a `Store`context to be used in `useStoreContext()` * @type T Type of the store value. */ export function createStoreContext>() { return createContext>(undefined as any) }