add hw2
This commit is contained in:
		
							
								
								
									
										8
									
								
								node_modules/jotai/ts3.8/vanilla/utils/atomWithReducer.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								node_modules/jotai/ts3.8/vanilla/utils/atomWithReducer.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| import type { WritableAtom } from 'jotai/vanilla'; | ||||
| export declare function atomWithReducer<Value, Action>(initialValue: Value, reducer: (value: Value, action?: Action) => Value): WritableAtom<Value, [ | ||||
|     Action? | ||||
| ], void>; | ||||
| export declare function atomWithReducer<Value, Action>(initialValue: Value, reducer: (value: Value, action: Action) => Value): WritableAtom<Value, [ | ||||
|     Action | ||||
| ], void>; | ||||
| declare type Awaited<T> = T extends Promise<infer V> ? V : T; | ||||
		Reference in New Issue
	
	Block a user
	 nik
					nik