mirror of
https://github.com/status-im/react-native-camera.git
synced 2025-02-24 09:48:17 +00:00
commit
2b9bc306b8
2
types/index.d.ts
vendored
2
types/index.d.ts
vendored
@ -34,7 +34,7 @@ type GoogleVisionBarcodeType = Readonly<{
|
||||
|
||||
// FaCC (Function as Child Components)
|
||||
type Self<T> = { [P in keyof T]: P }
|
||||
type CameraStatus = Readonly<Self<{ READY, PENDING_AUTHORIZATION, NOT_AUTHORIZED }>>;
|
||||
type CameraStatus = Readonly<Self<{ READY: any, PENDING_AUTHORIZATION: any, NOT_AUTHORIZED: any }>>;
|
||||
type FaCC = (params: {
|
||||
camera: RNCamera,
|
||||
status: keyof CameraStatus
|
||||
|
Loading…
x
Reference in New Issue
Block a user