Fix type in Camera.tsx
This commit is contained in:
parent
0e05fc314f
commit
1312c5be53
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user