UNPKG

jotai

Version:

👻 Next gen state management that will spook you

3 lines • 196 B
import { Atom, Scope } from './atom'; export declare function useAtomValue<Value>(atom: Atom<Value>, scope?: Scope): Awaited<Value>; declare type Awaited<T> = T extends Promise<infer V> ? V : T;