UNPKG

231 BTypeScriptView Raw
1import type { Scope, SetAtom, WritableAtom } from './atom';
2export declare function useSetAtom<Value, Update, Result extends void | Promise<void>>(atom: WritableAtom<Value, Update, Result>, scope?: Scope): SetAtom<Update, Result>;