Skip to content

Commit

Permalink
feat(shared): allow JSON Primitives as values
Browse files Browse the repository at this point in the history
  • Loading branch information
emkis committed Jul 12, 2022
1 parent b29cdf6 commit 3665870
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/data-layer/data-layer-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Valid object format for track events properties.
* @public
*/
export type EventProperties = Record<string, string | number>
export type EventProperties = Record<string, string | number | boolean | null>

/**
* The type-safe and recommended way to interact with the `targetProperty`.
Expand Down

0 comments on commit 3665870

Please sign in to comment.