UNPKG

jotai

Version:

👻 Primitive and flexible state management for React

6 lines • 366 B
import babel from '@babel/core'; import type { PluginObj } from '@babel/core'; import type { PluginOptions } from './utils'; /** @deprecated Use `jotai-babel/plugin-react-refresh` instead. */ export default function reactRefreshPlugin({ types: t }: typeof babel, options?: PluginOptions): PluginObj; declare type Awaited<T> = T extends Promise<infer V> ? V : T;