add hw2
This commit is contained in:
		
							
								
								
									
										17
									
								
								node_modules/jotai/ts3.8/react/Provider.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								node_modules/jotai/ts3.8/react/Provider.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | ||||
| import type { FunctionComponent, ReactElement, ReactNode } from 'react'; | ||||
| import { createStore } from 'jotai/vanilla'; | ||||
| type Store = ReturnType<typeof createStore>; | ||||
| type Options = { | ||||
|     store?: Store; | ||||
| }; | ||||
| export declare function useStore(options?: Options): Store; | ||||
| export declare function Provider({ children, store, }: { | ||||
|     children?: ReactNode; | ||||
|     store?: Store; | ||||
| }): ReactElement<{ | ||||
|     value: Store | undefined; | ||||
| }, FunctionComponent<{ | ||||
|     value: Store | undefined; | ||||
| }>>; | ||||
| export {}; | ||||
| declare type Awaited<T> = T extends Promise<infer V> ? V : T; | ||||
		Reference in New Issue
	
	Block a user
	 nik
					nik