UNPKG

jotai

Version:

👻 Next gen state management that will spook you

4 lines (3 loc) • 211 B
import { WritableAtom } from 'jotai'; import { RESET } from './atomWithReset'; export declare function useResetAtom<Value>(anAtom: WritableAtom<Value, typeof RESET>): (update?: unknown) => void | Promise<void>;