The event parameter which is an property option of the identify method I think needs to be marked as optional, since it will default to $identify. At the moment TS is throwing an error when not given.
It might be that a second type is needed rather than just marking event as option, since it looks like it is not option for the capture method.
The
event
parameter which is an property option of theidentify
method I think needs to be marked as optional, since it will default to$identify
. At the moment TS is throwing an error when not given.It might be that a second type is needed rather than just marking
event
as option, since it looks like it is not option for thecapture
method.