-
Notifications
You must be signed in to change notification settings - Fork 842
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
Use more complete implementation of Omit in TypeScript definitions #322
Conversation
The types in EuiContextMenu caused errors that seemed to result from usage of the `Omit<>` helper. It might be fixed with microsoft/TypeScript#21148, which is expected to be included in 2.7.1.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@weltenwort Would you like a real review or were you just pinging me so I'm aware of this? If the former then I'll need some hand-holding because I have a toddler's understanding of TS.
I guess it was more for awareness. I just didn't know whom else to tag, who is familiar with the inner workings of EUI. How do we want to handle upcoming TS PRs? |
Let's set up a sharing session next week. We can help and I obviously need
to learn now that I'm mucking around in logging. Then hopefully we can help
maintain it a bit.
…On Jan 19, 2018 7:19 AM, "Felix Stürmer" ***@***.***> wrote:
I guess it was more for awareness. I just didn't know whom else to tag,
who is familiar with the inner workings of EUI. How do we want to handle
upcoming TS PRs?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#322 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AATzp0yM1ZinA-kbIW47eBxHXdcqzGk2ks5tMLKDgaJpZM4RkZ4r>
.
|
The previous implementation of the `Omit` type did not support optional and readonly fields, which led to type errors when using the components.
bfb86ab
to
9b769e7
Compare
Ok, I seem to have found the root cause: The previous implementation of |
The TypeScript definitions for EuiContextMenu caused errors that seemed to result from usage of the
Omit<>
helper. It might be fixed with microsoft/TypeScript#21148, which is expected to be included in 2.7.1.