-
Notifications
You must be signed in to change notification settings - Fork 151
Node.js types are incorrect/outdated #52
Comments
The definition file is what is on definitelytyped (https://github.com/DefinitelyTyped/DefinitelyTyped/blob/types-2.0/node/index.d.ts). Please send DefinitelyTyped a PR for the updated definitions, and i will get it published to |
I guess typings installs from the master branch by default? |
We should be doing a merge from master in the next few days. |
@rakatyal can we get a merge done this week? |
Why are the typings not built from https://github.com/types/env-node? |
The packages are published from definitlytyped, if you believe this is more accurate feel free to update the one in definitlytyped to match it. |
@mhegazy Can we try to prioritise redirects so duplicated efforts can be reduced ASAP? @types can even support NPM installs directly using git but a lot of people find it difficult to contribute to DefinitelyTyped (especially if they'd want to help maintain a definition instead of contributing it once and forgetting about it). Edit: You can also use @types as a publish target directly, if there's a spec on what needs to be done to support that. |
For context, redirects is tracked by #4 We would be happy to take PRs for this feature if anyone is interested in contributing. most of the infrastructure is already in place. |
Looks like this can be closed now as |
Steps to reproduce:
npm install @types/node
Expected Results:
The node v6 typings should be in index.d.ts in the node_modules/@types/node directory.
Actual Results:
The node v4 typings are in index.d.ts in the node_modules/@types/node directory.
The text was updated successfully, but these errors were encountered: