TypeScript breaking change in version 1.4.0
mrlubos opened this issue · comments
The version 1.4.0 was meant to add an optional parameter to the identify()
method like identify(userId:string, traits?: Record<string, string|number|boolean>)
, but the actual type is identify(userId:string, traits: Record<string, string|number|boolean>)
which leads to compiler crashing when simply upgraded from version 1.3.0
Ah yep, typo on my end should be fixed in 1.4.1