UNPKG

jotai

Version:

👻 Next gen state management that will spook you

4 lines (3 loc) • 258 B
import type { Atom } from 'jotai'; export declare function freezeAtom<AtomType extends Atom<any>>(anAtom: AtomType): AtomType; export declare function freezeAtomCreator<CreateAtom extends (...params: any[]) => Atom<any>>(createAtom: CreateAtom): CreateAtom;