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 | yarn.lock | ||||||
|  |  | ||||||
| domains.json | domains.json | ||||||
| endpoints.json | endpoints.json | ||||||
|  |  | ||||||
|  | tea.yaml | ||||||
							
								
								
									
										10
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								package.json
									
									
									
									
									
								
							| @@ -48,13 +48,9 @@ | |||||||
|     "nanoid": "^3.3.3" |     "nanoid": "^3.3.3" | ||||||
|   }, |   }, | ||||||
|   "codegenConfig": { |   "codegenConfig": { | ||||||
|     "libraries": [ |     "name": "RCTPushySpec", | ||||||
|       { |     "type": "modules", | ||||||
|         "name": "RCTPushySpec", |     "jsSrcsDir": "src" | ||||||
|         "type": "modules", |  | ||||||
|         "jsSrcsDir": "src" |  | ||||||
|       } |  | ||||||
|     ] |  | ||||||
|   }, |   }, | ||||||
|   "devDependencies": { |   "devDependencies": { | ||||||
|     "@babel/core": "^7.24.0", |     "@babel/core": "^7.24.0", | ||||||
|   | |||||||
| @@ -1,5 +1,4 @@ | |||||||
| import type { TurboModule } from 'react-native/Libraries/TurboModule/RCTExport'; | import { TurboModule, TurboModuleRegistry } from 'react-native'; | ||||||
| import { TurboModuleRegistry } from 'react-native'; |  | ||||||
|  |  | ||||||
| export interface Spec extends TurboModule { | export interface Spec extends TurboModule { | ||||||
|   getConstants: () => { |   getConstants: () => { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 sunnylqm
					sunnylqm