Type checking in elastic/gatsby-eui-starter#7 finds that @types/react-virtualized and @types/enzyme are imported in eui.d.ts but not declared in its dependencies or peerDependencies (gatsby-eui-starter uses neither).
@types/react-virtualized seems like it should simply move to dependencies as it's used directly in src.
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 its tsconfig and so gets past the react-virutalized warning.
I'll get thoughts from @chandlerprall before moving forward with anything.
Type checking in elastic/gatsby-eui-starter#7 finds that
@types/react-virtualizedand@types/enzymeareimported ineui.d.tsbut not declared in itsdependenciesorpeerDependencies(gatsby-eui-starter uses neither).@types/react-virtualizedseems like it should simply move todependenciesas it's used directly insrc.I'm less certain about what to do with the exposed
enzymetest helpers.Kibana covers these holes because it uses both libraries.
Cloud uses
enzymeand specifiesstrict: falsein itstsconfigand so gets past thereact-virutalizedwarning.I'll get thoughts from @chandlerprall before moving forward with anything.