-
-
Notifications
You must be signed in to change notification settings - Fork 724
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
Cannot find namespace 'NodeJS'. #320
Comments
Be aware that some of the newer TypeScript 2.0 features are not supported. This could affect how TypeDoc looks up the types for your project. |
Are you using the |
@drochgenius Got the same exact problem. also with number to Timer. Did you already find a solution? thanks |
If you also have tsconfig.app.json in your working directory, try to add the attribute node to the types field. Like: This was working for me.. |
For me
PS: I'm in an ionic 3 project running on Windows. |
@Murilo-Perrone I thought TypeScript includes all https://www.typescriptlang.org/docs/handbook/tsconfig-json.html#types-typeroots-and-types |
This seems to be working, I can't reproduce the issue without specifically configuring TypeDoc to break this. Please open a new issue with a reproduction if you are still having the problem. |
works for me. thx |
I just updated my project to Typescript 2.0 and Typedoc@latest, and I get this error thrown from Typedoc.
I had to change a type from
number
toNodeJS.Timer
, because of a change in the type definition for setTimeout in Node type definitions.Any idea how I can fix this issue?
The text was updated successfully, but these errors were encountered: