diff --git a/src/plugins/camera-preview.ts b/src/plugins/camera-preview.ts index b6566b34..666bd744 100644 --- a/src/plugins/camera-preview.ts +++ b/src/plugins/camera-preview.ts @@ -117,7 +117,7 @@ export class CameraPreview { @Cordova({ sync: true }) - static takePicture(size: CameraPreviewSize): void { } + static takePicture(size?: CameraPreviewSize): void { } /** * Register a callback function that receives the original picture and the image captured from the preview box.