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