-
-
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
Support for compilerOptions.types #311
Comments
A quick patch is to add |
…ons. Added 'types' and 'typeRoots' to the list of strings ignored by TypeScriptSource. This means TypeDoc will ignore these compiler settings. This is a quick patch for TypeStrong#305 and TypeStrong#311
Does anyone know if this was fixed in #359? |
@aciccarello The specific error does not show as of the latest version in NPM but errors are being thrown when trying to compile docs such that it appears that the |
I can confirm that |
* Remove restriction on what compilerOptions can be set * remove filtering of TS 2.2 compilerOptions * add support for 'list' option types * Switch to processed compilerOptions * add support for `compilerOptions.lib` This PR removes the restrictions on setting options that aren't explicitly setup as options to allow new compilerOptions to pass through TypeDoc to TypeScript. It also sets up support for 'list' parameter types, and switches to use the processed compilerOptions, rather than `raw` so that the `lib` properties are properly parsed. This should fix TypeStrong#315 and I believe TypeStrong#311.
* Remove restriction on what compilerOptions can be set * remove filtering of TS 2.2 compilerOptions * add support for 'list' option types * Switch to processed compilerOptions * add support for `compilerOptions.lib` This PR removes the restrictions on setting options that aren't explicitly setup as options to allow new compilerOptions to pass through TypeDoc to TypeScript. It also sets up support for 'list' parameter types, and switches to use the processed compilerOptions, rather than `raw` so that the `lib` properties are properly parsed. This should fix TypeStrong#315 and I believe TypeStrong#311.
* Remove restriction on what compilerOptions can be set * remove filtering of TS 2.2 compilerOptions * add support for 'list' option types * Switch to processed compilerOptions * add support for `compilerOptions.lib` This PR removes the restrictions on setting options that aren't explicitly setup as options to allow new compilerOptions to pass through TypeDoc to TypeScript. It also sets up support for 'list' parameter types, and switches to use the processed compilerOptions, rather than `raw` so that the `lib` properties are properly parsed. This should fix TypeStrong#315 and I believe TypeStrong#311.
This appears to have been fixed with #449 |
Given this
tsconfig.json
:TypeDoc fails to run with the following error:
The text was updated successfully, but these errors were encountered: