[lsp-server] 🐞 incorrect bundling of types for graphql-language-server
#3790
Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
Currently, [email protected]
causes type errors with [email protected]
. Apparently, this package bundles the types of the development dependency graphql
into the published bundle, which will then cause TypeScript errors.
Also see the discussion in graphql/graphql-js#4201
Expected Behavior
As 16.9.0
is a valid peerDependency
, it should not result in TS warnings.
Steps To Reproduce
Install [email protected]
and [email protected]
, run tsc
.
Environment
See this PR: apollographql/vscode-graphql#175 with a failing CI job
Anything else?
No response