Skip to content

Conversation

@nayeemrmn
Copy link
Contributor

No description provided.

@nayeemrmn nayeemrmn requested a review from bartlomieju October 23, 2025 15:01
Comment on lines +117 to +124
[root fields](https://www.typescriptlang.org/tsconfig/#root-fields). In case of
overlap:

- A reference takes precedence over its referrer.
- For root references, `foo/bar/tsconfig.json` takes precedence over
`foo/tsconfig.json`.
- If a parent `deno.json` contains `compilerOptions`, that will take precedence
over any TSConfig.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oooof, this is really hard to grok - could we give some more concrete examples here?

Copy link
Contributor Author

@nayeemrmn nayeemrmn Oct 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aside from the last point (the simpler one), that's tsc semantics and should work intuitively. This is just a reference for technical users. It's not worth making this subsection bigger with examples IMO

@nayeemrmn nayeemrmn enabled auto-merge (squash) October 24, 2025 22:30
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

Successfully merging this pull request may close these issues.

3 participants