Skip to content

lib: add tsconfig internal contributions

THIS PR IS NOT INTENDED TO MIGRATE TO USING THE TYPESCRIPT COMPILER.

THIS IS ONLY INTENDED TO HELP CORE DEVELOPMENT EXPERIENCE. In particular, this is to help people wishing to work on the project that may be less familiar with its internals.

So, right now code completions don't work so great for the average node core contributor compared to in other projects, a large factor to this is the lack of code completions due to the layout of source files in the project. This config file should help most IDEs with JavaScript language server support (through the TypeScript language server) do actual completions. This is not meant to make all the red squigglies you might see go away. I've however attached a before/after pic to somewhat show this, feel free to copy paste the file for some local testing.

From: https://github.com/nodejs/node/blob/1bead013b985208851a131feac3718ea6a1cadb2/lib/internal/child_process/serialization.js#L11

Before: Screen Shot 2021-04-02 at 07 43 52 After: Screen Shot 2021-04-02 at 07 44 53

Merge request reports

Loading