Skip to content

Commit 7bf6fb7

Browse files
committed
fix: fix the return type of TS install function
1 parent acbd25b commit 7bf6fb7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/react-native-executorch/src

packages/react-native-executorch/src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { ETInstallerNativeModule } from './native/RnExecutorchModules';
66
declare global {
77
var loadStyleTransfer: (source: string) => Promise<any>;
88
var loadImageSegmentation: (source: string) => Promise<any>;
9-
var loadObjectDetection: (source: string) => Promise<any>;
9+
var loadObjectDetection: (source: string) => any;
1010
}
1111
// eslint-disable no-var
1212

0 commit comments

Comments
 (0)