Merge pull request #1526 from react-native-community/feat/types-288p

feat(types): add types for #1523
This commit is contained in:
João Guilherme Fidelis 2018-04-26 14:36:52 -03:00 committed by GitHub
commit f1a95cd26d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

6
types/index.d.ts vendored
View File

@ -17,7 +17,11 @@ type FlashMode = { on: any, off: any, torch: any, auto: any };
type CameraType = { front: any, back: any };
type WhiteBalance = { sunny: any, cloudy: any, shadow: any, incandescent: any, fluorescent: any, auto: any };
type BarCodeType = { aztec: any, code128: any, code39: any, code39mod43: any, code93: any, ean13: any, ean8: any, pdf417: any, qr: any, upce: any, interleaved2of5: any, itf14: any, datamatrix: any };
type VideoQuality = { '2160p': any, '1080p': any, '720p': any, '480p': any, '4:3': any };
type VideoQuality = {
'2160p': any, '1080p': any, '720p': any, '480p': any, '4:3': any;
/** iOS Only. Android not supported. */
'288p': any;
};
type VideoCodec = { 'H264': symbol, 'JPEG': symbol, 'HVEC': symbol, 'AppleProRes422': symbol, 'AppleProRes4444': symbol };
type FaceDetectionClassifications = { all: any, none: any };