Skip to content

Commit 3099f72

Browse files
authored
Make 'groups' argument optional in trackWithGroups
Refs: #168
1 parent 0c47657 commit 3099f72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export class Mixpanel {
1717
alias(alias: string, distinctId: string): void
1818
track(eventName: string, properties?: MixpanelProperties): void
1919
getPeople(): People;
20-
trackWithGroups(eventName: string, properties?: MixpanelProperties, groups: MixpanelProperties): void;
20+
trackWithGroups(eventName: string, properties?: MixpanelProperties, groups?: MixpanelProperties): void;
2121
setGroup(groupKey: string, groupID: MixpanelType): void;
2222
getGroup(groupKey: string, groupID: MixpanelType): MixpanelGroup;
2323
addGroup(groupKey: string, groupID: MixpanelType): void;

0 commit comments

Comments
 (0)