PostHog / posthog-node

Official PostHog Node library
MIT License
21 stars 19 forks source link

Update property types #41

Closed yakkomajuri closed 3 years ago

yakkomajuri commented 3 years ago

Changes

Properties can essentially be anything, so we shouldn't do strict type checking here. Not all types passed would be particularly useful in the UI, but we can still process them.

They can be a boolean, null, a number, a string, a deeply nested object, an array of objects, whatever. Hence Record<string | number, any>

Closes #40

Checklist