UNPKG

jotai

Version:

👻 Next gen state management that will spook you

5 lines • 288 B
import { QueryClient } from '@tanstack/query-core'; import { Getter } from 'jotai'; export type CreateQueryOptions<Options> = Options | ((get: Getter) => Options); export type GetQueryClient = (get: Getter) => QueryClient; declare type Awaited<T> = T extends Promise<infer V> ? V : T;