mirror of
				https://gitcode.com/gh_mirrors/re/react-native-pushy.git
				synced 2025-10-31 21:33:12 +08:00 
			
		
		
		
	fix codegenconfig
This commit is contained in:
		| @@ -47,4 +47,6 @@ Example | ||||
| yarn.lock | ||||
|  | ||||
| domains.json | ||||
| endpoints.json | ||||
| endpoints.json | ||||
|  | ||||
| tea.yaml | ||||
							
								
								
									
										10
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								package.json
									
									
									
									
									
								
							| @@ -48,13 +48,9 @@ | ||||
|     "nanoid": "^3.3.3" | ||||
|   }, | ||||
|   "codegenConfig": { | ||||
|     "libraries": [ | ||||
|       { | ||||
|         "name": "RCTPushySpec", | ||||
|         "type": "modules", | ||||
|         "jsSrcsDir": "src" | ||||
|       } | ||||
|     ] | ||||
|     "name": "RCTPushySpec", | ||||
|     "type": "modules", | ||||
|     "jsSrcsDir": "src" | ||||
|   }, | ||||
|   "devDependencies": { | ||||
|     "@babel/core": "^7.24.0", | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| import type { TurboModule } from 'react-native/Libraries/TurboModule/RCTExport'; | ||||
| import { TurboModuleRegistry } from 'react-native'; | ||||
| import { TurboModule, TurboModuleRegistry } from 'react-native'; | ||||
|  | ||||
| export interface Spec extends TurboModule { | ||||
|   getConstants: () => { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 sunnylqm
					sunnylqm