We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bb9516 commit b364f42Copy full SHA for b364f42
1 file changed
packages/pluggableWidgets/barcode-scanner-native/src/__tests__/BarcodeScanner.spec.tsx
@@ -5,7 +5,7 @@ import { createElement } from "react";
5
import { View } from "react-native";
6
import { BarcodeScanner, Props } from "../BarcodeScanner";
7
8
-let mockOnCodeScanned: ((codes: { value: string }[]) => void) | undefined;
+let mockOnCodeScanned: ((codes: Array<{ value: string }>) => void) | undefined;
9
10
jest.mock("react-native-vision-camera", () => ({
11
Camera: ({ children, ...props }: any) => <View {...props}>{children}</View>,
0 commit comments