mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 15:57:13 +00:00
Merge pull request #1 from moshfeu/take-picture-async-opt-param
expo - takePictureAsync should take a optional param
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