UNPKG

223 BTypeScriptView Raw
1import { WritableAtom } from 'jotai';
2import { RESET } from './constants';
3export declare function atomWithReset<Value>(initialValue: Value): WritableAtom<Value, typeof RESET | (Value | ((prev: Value) => Value)), void>;