fix(camera-preview): parameter size is optional (#871)

Just added the '?' to the parameter (size) in the static takePicture(size?: CameraPreviewSize): void { } because the size is a optional parameter
This commit is contained in:
HartHerbert 2016-12-14 02:49:46 +01:00 committed by Ibrahim Hadeed
parent c3f92e92c2
commit 61dc8aa18e

View File

@ -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.