-
-
Notifications
You must be signed in to change notification settings - Fork 723
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
Warnings when building doc #1524
Warnings when building doc #1524
Comments
What does your tsconfig look like? When I try this out, I get a compiler error from TypeScript before TypeDoc does anything. |
I'm also surprised we don't crash, node 6 is ancient, and not supported. |
Looks like I was giving the NPM version, not the Node.JS version... Whoops! |
|
Oh, well, that's why...
If you turn this off, then TypeScript will properly report this ill-formed declaration file as an error. I'm tempted to "fix" this by forcing that option to be false when compiling... but I'm going to sleep on it before making that decision. |
Alright... after some thought, I'm not going to force this option to true. However, this is a tentative decision and may be reversed later if the maintenance burden proves to be too high.
|
Fixed in 0.20.30 |
Search terms
Failed to convert type node with kind
Expected Behavior
I expected the documentation to be generated with no errors.
Actual Behavior
Warning: Failed to convert type node with kind: JSDocNullableType and text Element?. Please report a bug.
Steps to reproduce the bug
Create a *.d.ts file with the following function definition and attempt to generate documentation against it.
export function overlay(action:string, options:object?, element:Element?): any;
typedoc.json
Environment
The text was updated successfully, but these errors were encountered: