add hw2
This commit is contained in:
		
							
								
								
									
										9
									
								
								node_modules/jotai/react/useAtomValue.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								node_modules/jotai/react/useAtomValue.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| import type { Atom, ExtractAtomValue } from 'jotai/vanilla'; | ||||
| import { useStore } from './Provider'; | ||||
| type Options = Parameters<typeof useStore>[0] & { | ||||
|     delay?: number; | ||||
|     unstable_promiseStatus?: boolean; | ||||
| }; | ||||
| export declare function useAtomValue<Value>(atom: Atom<Value>, options?: Options): Awaited<Value>; | ||||
| export declare function useAtomValue<AtomType extends Atom<unknown>>(atom: AtomType, options?: Options): Awaited<ExtractAtomValue<AtomType>>; | ||||
| export {}; | ||||
		Reference in New Issue
	
	Block a user
	 nik
					nik