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:
		| @@ -48,3 +48,5 @@ yarn.lock | ||||
|  | ||||
| domains.json | ||||
| endpoints.json | ||||
|  | ||||
| tea.yaml | ||||
| @@ -48,13 +48,9 @@ | ||||
|     "nanoid": "^3.3.3" | ||||
|   }, | ||||
|   "codegenConfig": { | ||||
|     "libraries": [ | ||||
|       { | ||||
|     "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