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
When initializing events using a Partial[], the segments are typed as an array of EventSegmentModel[]. That means it has more properties marked as required than what is required (Or even possible).
I assume the EventModelConfig should instead should have segments as Partial.
Kind regards,
Lars Johansson
The text was updated successfully, but these errors were encountered:
chuckn0rris
changed the title
[TYPESCRIPT] EventModelConfig segments has TS Errors
[TYPESCRIPT] EventModelConfig segments has incorrect type
Mar 30, 2023
Forum post
When initializing events using a Partial[], the segments are typed as an array of EventSegmentModel[]. That means it has more properties marked as required than what is required (Or even possible).
I assume the EventModelConfig should instead should have segments as Partial.
Kind regards,
Lars Johansson
The text was updated successfully, but these errors were encountered: