fix codegenconfig
This commit is contained in:
parent
a93bbe553d
commit
57ddcc7758
@ -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: () => {
|
||||
|
Loading…
Reference in New Issue
Block a user