File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ type MixpanelType = any;
22type MixpanelProperties = { [ key : string ] : MixpanelType } ;
33
44export class Mixpanel {
5+ constructor ( token : string ) ;
56 static init ( token : string , optOutTrackingDefault ?: boolean ) : Promise < Mixpanel > ;
67 init ( optOutTrackingDefault ?: boolean ) : Promise < void > ;
78 setServerURL ( serverURL : string ) : void ;
@@ -33,6 +34,7 @@ export class Mixpanel {
3334}
3435
3536export class People {
37+ constructor ( token : string ) ;
3638 set ( prop : string , to : MixpanelType ) : void ;
3739 setOnce ( prop : string , to : MixpanelType ) : void ;
3840 increment ( prop : string , by : number ) : void ;
@@ -46,6 +48,7 @@ export class People {
4648}
4749
4850export class MixpanelGroup {
51+ constructor ( token : string , groupKey : string , groupID : MixpanelType ) ;
4952 set ( prop : string , to : MixpanelType ) : void ;
5053 setOnce ( prop : string , to : MixpanelType ) : void ;
5154 unset ( prop : string ) : void ;
You can’t perform that action at this time.
0 commit comments