Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 2
    It works! Why this is not accepted answer? or maybe it raise another problem for others?
    – FatihAziz
    Commented Jul 21, 2022 at 8:25
  • 14
    This worked for me, but what functionality are we losing by removing composite? I'm referring to my package tsconfig.json from a base tsconfig.json using references.
    – dimiguel
    Commented Sep 25, 2022 at 23:24
  • 7
    why does it work?!
    – roomcayz
    Commented Feb 1, 2023 at 8:26
  • 1
    You shouldn't do this. Setting composite to false disables enforcement of includes patterns (see docs). It's not clear to me why JSON files aren't included by default when writing wildcard globs, but specifically including *.json files seems to work fine (TS 5.2.2).
    – sheng
    Commented Oct 31, 2023 at 17:01