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

5 lines
402 B
TypeScript

export { atom } from './vanilla/atom';
export type { Atom, WritableAtom, PrimitiveAtom } from './vanilla/atom';
export { createStore, getDefaultStore, INTERNAL_overrideCreateStore, } from './vanilla/store';
export type { Getter, Setter, ExtractAtomValue, ExtractAtomArgs, ExtractAtomResult, SetStateAction, } from './vanilla/typeUtils';
declare type Awaited<T> = T extends Promise<infer V> ? V : T;