UNPKG

jotai

Version:

👻 Next gen state management that will spook you

5 lines (4 loc) • 232 B
import { WritableAtom } from 'jotai'; import { Scope } from '../core/atom'; import { RESET } from './constants'; export declare function useResetAtom<Value>(anAtom: WritableAtom<Value, typeof RESET>, scope?: Scope): () => void;