UNPKG

403 BTypeScriptView Raw
1import { useStore } from 'jotai/react';
2import { WritableAtom } from 'jotai/vanilla';
3type Options = Parameters<typeof useStore>[0];
4type AnyWritableAtom = WritableAtom<unknown, any[], any>;
5export declare function useHydrateAtoms(values: Iterable<readonly [
6 AnyWritableAtom,
7 unknown
8]>, options?: Options): void;
9export {};
10declare type Awaited<T> = T extends Promise<infer V> ? V : T;
\No newline at end of file