add hw2
This commit is contained in:
		
							
								
								
									
										6
									
								
								node_modules/jotai/vanilla/utils/atomWithRefresh.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								node_modules/jotai/vanilla/utils/atomWithRefresh.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| import type { WritableAtom } from 'jotai/vanilla'; | ||||
| type Read<Value, Args extends unknown[], Result> = WritableAtom<Value, Args, Result>['read']; | ||||
| type Write<Value, Args extends unknown[], Result> = WritableAtom<Value, Args, Result>['write']; | ||||
| export declare function atomWithRefresh<Value, Args extends unknown[], Result>(read: Read<Value, Args, Result>, write: Write<Value, Args, Result>): WritableAtom<Value, Args | [], Result | void>; | ||||
| export declare function atomWithRefresh<Value>(read: Read<Value, [], void>): WritableAtom<Value, [], void>; | ||||
| export {}; | ||||
		Reference in New Issue
	
	Block a user
	 nik
					nik