Skip to content

Commit 2192b62

Browse files
committed
fix index.tsx
1 parent e3ec579 commit 2192b62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { NativeModules, Platform } from 'react-native';
2-
import {VisionCameraProxy, Frame} from 'react-native-vision-camera';
2+
import {VisionCameraProxy, type Frame} from 'react-native-vision-camera';
33

44
const LINKING_ERROR =
55
`The package 'vision-camera-dynamsoft-barcode-reader' doesn't seem to be linked. Make sure: \n\n` +
@@ -19,7 +19,7 @@ const VisionCameraDynamsoftBarcodeReader = NativeModules.VisionCameraDynamsoftBa
1919
);
2020

2121

22-
const plugin = VisionCameraProxy.initFrameProcessorPlugin('decode')
22+
const plugin = VisionCameraProxy.initFrameProcessorPlugin('decode',{})
2323

2424
/**
2525
* Detect barcodes from the camera preview

0 commit comments

Comments
 (0)