-
Notifications
You must be signed in to change notification settings - Fork 30.5k
[node] v16 types #52594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[node] v16 types #52594
Conversation
|
👋 Hi there! I’ve run some quick measurements against master and your PR. These metrics should help the humans reviewing this PR gauge whether it might negatively affect compile times or editor responsiveness for users who install these typings. Let’s review the numbers, shall we? Comparison details 📊
It looks like nothing changed too much. I won’t post performance data again unless it gets worse. |
|
Thanks @Mesteery :) |
|
sorry, the true type is |
|
Updated numbers for you here from 521148b. Comparison details 📊
First off, note that the system varied slightly between these two runs, so you’ll have to take these measurements with a grain of salt. Looks like there were a couple significant differences—take a look at mean duration for getting completions at a position, worst-case duration for getting completions at a position, and mean duration for getting quick info at a position to make sure everything looks ok. |
Co-authored-by: Mestery <mestery@pm.me>
|
Updated numbers for you here from ca40e38. Nice job, these numbers look better. Comparison details 📊
First off, note that the system varied slightly between these two runs, so you’ll have to take these measurements with a grain of salt. It looks like nothing changed too much. I won’t post performance data again unless it gets worse. |
|
@victorperin thanks for your work, i hope this can be merged soon :D |
|
I have a series of PRs out which should probably be merged first, otherwise this could get pretty annoying updating v15 and 16. |
|
@SimonSchick Which PRs are in this series? I guess these will all be done in a week or two? |
|
@SimonSchick looks like the Maybe you could also do some new PRs for the v14 and v12 lines re-introducing the change by @ExE-Boss ? Reference: https://nodejs.org/api/esm.html -> link "node: Imports" (links with anchors don't scroll properly right now) |
|
My final v15 PR is probably going to land this week #53566 |
|
Please make sure to redo the file copying. |
|
@victorperin, do you want to drive this PR or do you mind me to take over? I realized I created a v16 branch a while ago (before I saw this PR), I think I could re-use some parts of this PR as well. |
|
Oh, no problem, I'm currently under a ton of work latelly, i think you could end this faster than me. Thanks! |
|
|

🚧 🚧 🚧 Work In Progress 🚧 🚧 🚧
Please fill in this template.
npm test <package to test>.Select one of these and delete the others:
If adding a new definition:
.d.tsfiles generated via--declarationdts-gen --dt, not by basing it on an existing project.tslint.jsonshould contain{ "extends": "dtslint/dt.json" }, and no additional rules.tsconfig.jsonshould havenoImplicitAny,noImplicitThis,strictNullChecks, andstrictFunctionTypesset totrue.If changing an existing definition:
If removing a declaration:
notNeededPackages.json.