You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by jc...@apache.org on 2018/11/23 17:44:50 UTC

[cordova-plugin-camera] branch master updated: CB-13837: fix TypeScript Definition for CameraPopoverOptions (#379)

This is an automated email from the ASF dual-hosted git repository.

jcesarmobile pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-plugin-camera.git


The following commit(s) were added to refs/heads/master by this push:
     new 86b0bf2  CB-13837: fix TypeScript Definition for CameraPopoverOptions (#379)
86b0bf2 is described below

commit 86b0bf2534a8d22e582437b30f57a0fad870471d
Author: jcesarmobile <jc...@gmail.com>
AuthorDate: Fri Nov 23 18:44:46 2018 +0100

    CB-13837: fix TypeScript Definition for CameraPopoverOptions (#379)
---
 types/index.d.ts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/types/index.d.ts b/types/index.d.ts
index fa50e9c..0ab7305 100644
--- a/types/index.d.ts
+++ b/types/index.d.ts
@@ -138,6 +138,10 @@ interface CameraPopoverOptions {
     arrowDir : number;
 }
 
+declare class CameraPopoverOptions implements CameraPopoverOptions {
+    constructor(x?: number, y?: number, width?: number, height?: number, arrowDir?: number);
+}
+
 declare var Camera: {
     // Camera constants, defined in Camera plugin
     DestinationType: {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org