-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
TypeScript: Cannot find type definition file for 'node' and 'long' #530
Comments
Works well if remove this from protobuf.js.d.ts /// <reference types="node" />
/// <reference types="long" /> And Or remove node_modules/protobufjs/types, and |
Related: #527 (comment) Seems that the ideal way depends on the environment. Are you aware of any documented standard on how referencing definition dependencies is supposed to be done - so it works with both DefinitelyTyped and vscode integrations?
Are you sure that this installs v6 types? Afaik the DefinitelyTyped repository only has a definition for v5. |
Easy solution. In a post-build step, delete the two We do similar in other projects with |
The |
Get error even use
tsd install node long
when compile.The text was updated successfully, but these errors were encountered: