-
Notifications
You must be signed in to change notification settings - Fork 844
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
eui.d.ts has undeclared dependency imports #1959
Comments
|
Is this still an issue? I noticed react-virtualized was moved. I haven't had any issues in TS projects with Gatsby recently. |
It is still an issue (at least the concept, if not the specific packages) - I hit this whenever I spin up a quick test environment for EUI builds. |
@snide was working through upgrading deps in the Easy changes: Discussion: |
Would be great to avoid listing |
Type checking in elastic/gatsby-eui-starter#7 finds that
@types/react-virtualized
and@types/enzyme
areimport
ed ineui.d.ts
but not declared in itsdependencies
orpeerDependencies
(gatsby-eui-starter uses neither).@types/react-virtualized
seems like it should simply move todependencies
as it's used directly insrc
.I'm less certain about what to do with the exposed
enzyme
test helpers.Kibana covers these holes because it uses both libraries.
Cloud uses
enzyme
and specifiesstrict: false
in itstsconfig
and so gets past thereact-virutalized
warning.I'll get thoughts from @chandlerprall before moving forward with anything.
The text was updated successfully, but these errors were encountered: