Skip to content

Commit 62dbc40

Browse files
committed
add multi-prop api interfaces
1 parent c73ed8a commit 62dbc40

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

index.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,11 @@ export class Mixpanel {
3636
export class People {
3737
constructor(token: string);
3838
set(prop: string, to: MixpanelType): void;
39+
set(properties: MixpanelProperties): void;
3940
setOnce(prop: string, to: MixpanelType): void;
41+
setOnce(properties: MixpanelProperties): void;
4042
increment(prop: string, by: number): void;
43+
increment(properties: MixpanelProperties): void;
4144
append(name: string, value: MixpanelType): void;
4245
union(name: string, value: Array<MixpanelType>): void;
4346
remove(name: string, value: MixpanelType): void;

0 commit comments

Comments
 (0)