jotai
Version:
👻 Next gen state management that will spook you
10 lines • 356 B
TypeScript
import { Atom, WritableAtom } from 'jotai/vanilla';
type DevtoolOptions = {
name?: string;
enabled?: boolean;
};
export declare function useAtomDevtools<Value, Result>(anAtom: WritableAtom<Value, [
Value
], Result> | Atom<Value>, options?: DevtoolOptions): void;
export {};
declare type Awaited<T> = T extends Promise<infer V> ? V : T;