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