fix(mixpanel): implement CordovaProperty correctly

This commit is contained in:
Ibrahim Hadeed
2016-08-27 02:10:50 -04:00
parent 661276467c
commit dd0c9baffd
+2 -1
View File
@@ -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 {