mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-31 18:49:43 +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';
|
||||
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user