1 Commits

Author SHA1 Message Date
1312c5be53 Fix type in Camera.tsx 2024-02-03 20:47:53 -07:00

View File

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