diff --git a/.npmignore b/.npmignore index c196367..e2ee5e4 100644 --- a/.npmignore +++ b/.npmignore @@ -47,4 +47,6 @@ Example yarn.lock domains.json -endpoints.json \ No newline at end of file +endpoints.json + +tea.yaml \ No newline at end of file diff --git a/package.json b/package.json index b6fb7f5..a00b0b8 100644 --- a/package.json +++ b/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", diff --git a/src/NativePushy.ts b/src/NativePushy.ts index fd418e8..d200d57 100644 --- a/src/NativePushy.ts +++ b/src/NativePushy.ts @@ -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: () => {