Closed jimisaacs closed 2 years ago
In the latest published version of this package of 0.9.18: https://registry.npmjs.com/subscriptions-transport-ws/-/subscriptions-transport-ws-0.9.18.tgz
In dist/server.d.ts, you can see this right at the top:
dist/server.d.ts
/// <reference types="node" />
Though how is it getting there? I don't see it anywhere in the sources within this repo.
This is causing the node types to leak into our projects based on this issue: https://github.com/microsoft/TypeScript/issues/31148#issuecomment-782321503
I've also already commented on this package here: https://github.com/apollographql/apollo-client/issues/7734
Though I'm confused and would like some clarification.
Related issue: https://github.com/apollographql/invariant-packages/issues/74
In the latest published version of this package of 0.9.18: https://registry.npmjs.com/subscriptions-transport-ws/-/subscriptions-transport-ws-0.9.18.tgz
In
dist/server.d.ts
, you can see this right at the top:Though how is it getting there? I don't see it anywhere in the sources within this repo.
This is causing the node types to leak into our projects based on this issue: https://github.com/microsoft/TypeScript/issues/31148#issuecomment-782321503
I've also already commented on this package here: https://github.com/apollographql/apollo-client/issues/7734
Though I'm confused and would like some clarification.