UNPKG

react-redux

Version:

Official React bindings for Redux

10 lines (7 loc) 364 B
import type { useSyncExternalStore } from 'use-sync-external-store' import type { useSyncExternalStoreWithSelector } from 'use-sync-external-store/with-selector' export const notInitialized = () => { throw new Error('uSES not initialized!') } export type uSES = typeof useSyncExternalStore export type uSESWS = typeof useSyncExternalStoreWithSelector