UNPKG

jotai

Version:

👻 Next gen state management that will spook you

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