Skip to content

Commit 9516a30

Browse files
committed
chore: fix type in ocrcontroller
1 parent 1093e53 commit 9516a30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-native-executorch/src/controllers/OCRController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export class OCRController {
99
private nativeModule: any;
1010
public isReady: boolean = false;
1111
public isGenerating: boolean = false;
12-
public error: string | null = null;
12+
public error: ExecutorchError | null = null;
1313
private isReadyCallback: (isReady: boolean) => void;
1414
private isGeneratingCallback: (isGenerating: boolean) => void;
1515
private errorCallback: (error: ExecutorchError) => void;

0 commit comments

Comments
 (0)