UNPKG

258 BTypeScriptView Raw
1import type { 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;