mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
takePictureAsync should take a optional param (#26065)
`options: PictureOptions` is not mandatory.
This commit is contained in:
Vendored
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user