UNPKG

205 BTypeScriptView Raw
1import type { Atom } from 'jotai';
2export declare function selectAtom<Value, Slice>(anAtom: Atom<Value>, selector: (v: Awaited<Value>) => Slice, equalityFn?: (a: Slice, b: Slice) => boolean): Atom<Slice>;