UNPKG

317 BTypeScriptView Raw
1import { Atom } from 'jotai';
2export declare function freezeAtom<AtomType extends Atom<any>>(anAtom: AtomType): AtomType;
3export declare function freezeAtomCreator<CreateAtom extends (...params: any[]) => Atom<any>>(createAtom: CreateAtom): CreateAtom;
4declare type Awaited<T> = T extends Promise<infer V> ? V : T;
\No newline at end of file