Skip to content

Add TypeScript configuration options for declarations#19

Merged
NullVoxPopuli merged 1 commit into
mainfrom
NullVoxPopuli-patch-1
May 27, 2026
Merged

Add TypeScript configuration options for declarations#19
NullVoxPopuli merged 1 commit into
mainfrom
NullVoxPopuli-patch-1

Conversation

@NullVoxPopuli
Copy link
Copy Markdown
Contributor

@NullVoxPopuli NullVoxPopuli commented May 12, 2026

Why isolatedDeclarations: true

Require sufficient annotation on exports so other tools can trivially generate declaration files (also boosts type-checking performance)

Why erasableSyntaxOnly: true

Allows enforcement non-tsc-powered compilation to be used (required for rolldown, and other non-tsc tools)

Copy link
Copy Markdown

@gossi gossi left a comment

Choose a reason for hiding this comment

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

yes, I do have that settings on on my configs, too. Also the first one is sorta a requirement for tsdown dts generation

@NullVoxPopuli NullVoxPopuli requested a review from kategengler May 27, 2026 18:08
@gitKrystan
Copy link
Copy Markdown

gitKrystan commented May 27, 2026

Can I get a tl;dr of the "why" we'd add to release notes about this? (Otherwise LGTM)

@NullVoxPopuli NullVoxPopuli merged commit e041032 into main May 27, 2026
2 checks passed
@NullVoxPopuli NullVoxPopuli deleted the NullVoxPopuli-patch-1 branch May 27, 2026 19:16
@github-actions github-actions Bot mentioned this pull request May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants