UNPKG

jotai

Version:

👻 Next gen state management that will spook you

4 lines (3 loc) • 271 B
import type { Atom, WritableAtom } from 'jotai'; import type { Scope } from '../core/atom'; export declare function useAtomDevtools<Value, Result extends void | Promise<void>>(anAtom: WritableAtom<Value, Value, Result> | Atom<Value>, name?: string, scope?: Scope): void;