mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-07 23:03:19 +08:00
fix(mixpanel): implement CordovaProperty correctly
This commit is contained in:
parent
661276467c
commit
dd0c9baffd
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user