Merge pull request #1 from moshfeu/take-picture-async-opt-param

expo - takePictureAsync should take a optional param
This commit is contained in:
Mosh Feu
2018-05-28 11:44:41 +03:00
committed by GitHub
+1 -1
View File
@@ -761,7 +761,7 @@ export interface RecordingOptions {
}
export class CameraObject {
takePictureAsync(options: PictureOptions): Promise<PictureResponse>;
takePictureAsync(options?: PictureOptions): Promise<PictureResponse>;
recordAsync(options: RecordingOptions): Promise<{ uri: string; }>;
stopRecording(): void;
getSupportedRatiosAsync(): Promise<string[]>; // Android only