You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
oh I seem to have overlooked this. We can & should accept numbers too indeed 👍
@neilkakkar would you like/do you have time to take a stab at it before we release the next major? not sure if this is a breaking change, since Record<string, Property> will still be compatible with <string, string>.
Bug description
personProperties
is typed asRecord<string, string>
whereas it should beRecord<string, string | number>
How to reproduce
Try to call
getAllFlags
with a numericalpersonProperty
and you will get a type errorRelated sub-libraries
Additional context
posthog-node
version3.6.3
The text was updated successfully, but these errors were encountered: