Merge pull request #1244 from jgfidelis/update-types

Update PictureOptions and RecordingOptions type
This commit is contained in:
João Guilherme Fidelis 2018-02-14 13:14:45 -02:00 committed by GitHub
commit 5627d0144c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,9 @@ import { requestPermissions } from './handlePermissions';
type PictureOptions = { type PictureOptions = {
quality?: number, quality?: number,
base64?: boolean,
mirrorImage?: boolean,
exif?: boolean,
}; };
type TrackedFaceFeature = FaceFeature & { type TrackedFaceFeature = FaceFeature & {
@ -29,6 +32,7 @@ type RecordingOptions = {
maxDuration?: number, maxDuration?: number,
maxFileSize?: number, maxFileSize?: number,
quality?: number | string, quality?: number | string,
mute?: boolean,
}; };
type EventCallbackArgumentsType = { type EventCallbackArgumentsType = {