From 86b0bf2534a8d22e582437b30f57a0fad870471d Mon Sep 17 00:00:00 2001 From: jcesarmobile Date: Fri, 23 Nov 2018 18:44:46 +0100 Subject: [PATCH] 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: {