Fix type in Camera.tsx

This commit is contained in:
Ivan Malison 2024-02-03 20:47:53 -07:00
parent 0e05fc314f
commit 1312c5be53

View File

@ -28,7 +28,7 @@ interface OnErrorEvent {
}
interface OnVideoChunkReadyEvent {
filepath: string
index: int
index: number
}
type NativeCameraViewProps = Omit<CameraProps, 'device' | 'onInitialized' | 'onError' | 'frameProcessor' | 'codeScanner'> & {
cameraId: string