fix(mixpanel): implement CordovaProperty correctly

This commit is contained in:
Ibrahim Hadeed 2016-08-27 02:10:50 -04:00
parent 661276467c
commit dd0c9baffd
No known key found for this signature in database
GPG Key ID: 0431793F665481A4

View File

@ -1,4 +1,5 @@
import {Plugin, Cordova, CordovaProperty} from './plugin'; import {Plugin, Cordova, CordovaProperty} from './plugin';
declare var mixpanel: any;
/** /**
* @name Mixpanel * @name Mixpanel
* @description * @description
@ -93,7 +94,7 @@ export class Mixpanel {
* @returns {MixpanelPeople} * @returns {MixpanelPeople}
*/ */
@CordovaProperty @CordovaProperty
static people: MixpanelPeople; static get people(): MixpanelPeople {return mixpanel.people; };
} }
export declare class MixpanelPeople { export declare class MixpanelPeople {