Skip to content

Warn when tsconfig.json extends a file that contains referencesΒ #61223

@Woodz

Description

@Woodz

πŸ”Ž Search Terms

tsconfig, extends, references

πŸ•— Version & Regression Information

This is intended behaviour according to https://www.typescriptlang.org/tsconfig/#extends

⏯ Playground Link

No response

πŸ’» Code

// Your code here

πŸ™ Actual behavior

I spent 2 days trying to get tsconfig.json file inheritance working with references. Then I found in the manual:

Currently, the only top-level property that is excluded from inheritance is references.

There was no warning in the command line when I was trying to extend a tsconfig.json file that contained references - instead it was just silently ignored.

πŸ™‚ Expected behavior

Should log a warning when extending a tsconfig.json file that contains references. This warning should explain that references are not inherited so therefore will be ignored

Additional information about the issue

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    DeclinedThe issue was declined as something which matches the TypeScript visionSuggestionAn idea for TypeScript

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions