You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to implement a debug adapter for the web using the @vscode/debugadapter npm module but I can't compile the code with out having node typings install (which gives a wrong impression for people want to do something for the web). The reason for that are these reference /// <reference types="node" /> in the provided d.ts files.
Would it be possible to have a module that I can use without node typings. If you want I can explain how I did this for LSP.
The text was updated successfully, but these errors were encountered:
It looks like we currently depend on NodeJS types for (exclusively?) readable/writable streams. We could probably swap those out for minimal interfaces within the module which NodeJS streams can be duck-typed into. If we were to make a breaking change I would suggest taking Readable/Writable streams from the Streams API, which is standard with Node.js APIs that allow conversion to and fro.
I wanted to implement a debug adapter for the web using the
@vscode/debugadapter
npm module but I can't compile the code with out having node typings install (which gives a wrong impression for people want to do something for the web). The reason for that are these reference/// <reference types="node" />
in the provided d.ts files.Would it be possible to have a module that I can use without node typings. If you want I can explain how I did this for LSP.
The text was updated successfully, but these errors were encountered: