Skip to content

Conversation

@solastley
Copy link
Contributor

@solastley solastley commented Dec 7, 2025

This PR addresses two issues flagged here:

  1. The type of TrackEventProperties is currently incorrect. It is defined as an object containing a key properties, but in reality it should be the type of the value of properties (an object which accepts arbitrary keys and values).
  2. Apparently tsc is complaining about using unknown as the default type in safeParse. I cannot reproduce locally, but it seems reasonable to just make it string instead to resolve this.
  3. tsc also seems to be complaining about using an any type as unknown - again, not able to reproduce it locally, but I made a change which I think will resolve this.

Bumping a patch version because the new type of properties would not constitute a breaking change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants