Test/node_modules/jotai/ts3.8/vanilla/utils/selectAtom.d.ts
2026-04-09 22:54:00 +07:00

3 lines
No EOL
286 B
TypeScript

import type { Atom } from 'jotai/vanilla';
export declare function selectAtom<Value, Slice>(anAtom: Atom<Value>, selector: (v: Value, prevSlice?: Slice) => Slice, equalityFn?: (a: Slice, b: Slice) => boolean): Atom<Slice>;
declare type Awaited<T> = T extends Promise<infer V> ? V : T;