-
Notifications
You must be signed in to change notification settings - Fork 978
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
Fix EUI/OUI related type errors #3028
Comments
I'm already working on that problem :) |
Without looking too deep into the details, yes, that sounds correct, and I believe there are a lot of incorrectly typed
I think that's right? Does it work? You may have seen that we actually alias But, yeah, it looks like node_modules/@elastic/eui/lib/test/index.d.ts explicitly declares the module as
I think the issues with that search component are a little different - the types look correctly defined, but I think the class properties are not being set correctly in a way that preserves typing. |
@joshuarrrr I have a couple of solutions in mind, but they will add errors in the future. We need to solve something with the library itself. Is it possible to replace EuiSearchBar with OuiSearchBar? No errors with it and the types are the same. I don't understand what can be done without changing the library |
@joshuarrrr :) |
Task for #1660
The text was updated successfully, but these errors were encountered: