-
Notifications
You must be signed in to change notification settings - Fork 692
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
Typedoc does not respect the extends
semantics of tsconfig.json
#2334
Comments
@Gerrit0 While the typedoc-options may now be working, the other tsconfig-options are not working. I have a base tsconfig with |
That's a different issue - and one that'll definitely need a reproduction, since I have test cases which shows that TypeDoc does inherit tsconfig options properly. |
You are correct. In my project I get an error, because the include is different and therefore it has no types for |
Search terms
Expected Behavior
When looking for
typedocOptions
intsconfig.json
files, typedoc should respect the semantics oftsconfig.json
by honoring theextends
property per https://www.typescriptlang.org/tsconfig/extends.htmlActual Behavior
Currently, in
src/lib/utils/tsconfig.ts
, there is no affordance for resolving the complete contents oftsconfig.json
in the case where anextends
property is present.Steps to reproduce the bug
typedoc
and specifiestypedocOptions
in atsconfig.json
.tsconfig.json
to a new file (such astsconfig.base.json
)tsconfig.json
with{ 'extends': 'tsconfig.base.json' }
typedoc
no longer respects the settings in the extended config.Environment
typedoc@0.24.7
^5.0.0
16
macOS
The text was updated successfully, but these errors were encountered: