From dd0c9baffdf219cb737a6bbb5b1b20e39054f2a4 Mon Sep 17 00:00:00 2001 From: Ibrahim Hadeed Date: Sat, 27 Aug 2016 02:10:50 -0400 Subject: [PATCH] fix(mixpanel): implement CordovaProperty correctly --- src/plugins/mixpanel.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/mixpanel.ts b/src/plugins/mixpanel.ts index c876b720..f5cbbcf3 100644 --- a/src/plugins/mixpanel.ts +++ b/src/plugins/mixpanel.ts @@ -1,4 +1,5 @@ import {Plugin, Cordova, CordovaProperty} from './plugin'; +declare var mixpanel: any; /** * @name Mixpanel * @description @@ -93,7 +94,7 @@ export class Mixpanel { * @returns {MixpanelPeople} */ @CordovaProperty - static people: MixpanelPeople; + static get people(): MixpanelPeople {return mixpanel.people; }; } export declare class MixpanelPeople {