Skip to content

Commit 0728627

Browse files
authored
Expand metadata types for events to what Intercom supports (#328)
1 parent 05f2825 commit 0728627

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ export function logout(): Promise<void>;
6464
/**
6565
* Log an event
6666
* @param {string} eventName
67-
* @param {[key: string]: string} metadata
67+
* @param {[key: string]: string | number | boolean } metadata
6868
*/
69-
export function logEvent(eventName: string, metadata: { [key: string]: string }): Promise<void>;
69+
export function logEvent(eventName: string, metadata: { [key: string]: string | number | boolean }): Promise<void>;
7070

7171
/**
7272
* handlePushMessage

0 commit comments

Comments
 (0)