add hw2
This commit is contained in:
9
node_modules/jotai/ts3.8/esm/react/utils/useResetAtom.d.ts
generated
vendored
Normal file
9
node_modules/jotai/ts3.8/esm/react/utils/useResetAtom.d.ts
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import { useSetAtom } from 'jotai/react';
|
||||
import { RESET } from 'jotai/vanilla/utils';
|
||||
import type { WritableAtom } from 'jotai/vanilla';
|
||||
type Options = Parameters<typeof useSetAtom>[1];
|
||||
export declare function useResetAtom<T>(anAtom: WritableAtom<unknown, [
|
||||
typeof RESET
|
||||
], T>, options?: Options): () => T;
|
||||
export {};
|
||||
declare type Awaited<T> = T extends Promise<infer V> ? V : T;
|
||||
Reference in New Issue
Block a user