Skip to content

Commit 1b97677

Browse files
Merge pull request #169 from m0rl/m0rl-track-with-groups-optional-arguments
Make 'groups' argument optional in trackWithGroups
2 parents 3727e92 + 3099f72 commit 1b97677

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)