Files
infocom-systems-design/node_modules/jotai/ts3.8/vanilla/utils/atomWithLazy.d.ts
2025-10-03 22:27:28 +03:00

3 lines
208 B
TypeScript

import type { PrimitiveAtom } from 'jotai/vanilla';
export declare function atomWithLazy<Value>(makeInitial: () => Value): PrimitiveAtom<Value>;
declare type Awaited<T> = T extends Promise<infer V> ? V : T;