takePictureAsync should take a optional param (#26065)

`options: PictureOptions` is not mandatory.
This commit is contained in:
Mosh Feu
2018-05-29 16:00:21 -07:00
committed by Mohamed Hegazy
parent 0c9ac48065
commit ab95daceb2
+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