Skip to content

Docs: clarify thats it's impossible to extend references #2749

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

Closed
7rulnik opened this issue Mar 14, 2023 · 1 comment
Closed

Docs: clarify thats it's impossible to extend references #2749

7rulnik opened this issue Mar 14, 2023 · 1 comment

Comments

@7rulnik
Copy link

7rulnik commented Mar 14, 2023

Page URL:

https://www.typescriptlang.org/tsconfig#extends
https://www.typescriptlang.org/tsconfig#references
https://www.typescriptlang.org/docs/handbook/project-references.html

Issue:

For me, it was a surprise that references field is excluded from inheritance.

Recommended Fix:

I doubt that it's possible to change behavior for it, but I think it worth mentioning it not only in the https://www.typescriptlang.org/tsconfig#extends section, but also in https://www.typescriptlang.org/tsconfig#references and there https://www.typescriptlang.org/docs/handbook/project-references.html. So people will not spend 2 hours debugging it like me :)

Maybe also it's worth mentioning why it's excluded

@typescript-bot
Copy link
Collaborator

Hello! As per #2804, we are automatically closing all open issues. Please see #2804 for a description of what issues and PRs can be accepted going forward.

@typescript-bot typescript-bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants