Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TYPESCRIPT] EventModelConfig segments has incorrect type #6494

Open
chuckn0rris opened this issue Mar 30, 2023 · 0 comments
Open

[TYPESCRIPT] EventModelConfig segments has incorrect type #6494

chuckn0rris opened this issue Mar 30, 2023 · 0 comments
Labels
bug Something isn't working forum Issues from forum OEM OEM customer premium typescript

Comments

@chuckn0rris
Copy link

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

@chuckn0rris chuckn0rris added bug Something isn't working premium forum Issues from forum typescript OEM OEM customer labels Mar 30, 2023
@chuckn0rris chuckn0rris changed the title [TYPESCRIPT] EventModelConfig segments has TS Errors [TYPESCRIPT] EventModelConfig segments has incorrect type Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working forum Issues from forum OEM OEM customer premium typescript
Projects
None yet
Development

No branches or pull requests

1 participant