Skip to content

Conversation

@noootwo
Copy link
Contributor

@noootwo noootwo commented Dec 27, 2024

Description

Introduce the dtsMode to control the behavior of generating dts file.

Default to append

overwrite: overwrite the whole existing .d.ts file with the new type definitions.
append: only append the new type definitions to the existing .d.ts file, means the existing type definitions will be kept.

Linked Issues

resolve #548

Additional context

@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@otomad
Copy link

otomad commented Aug 17, 2025

@antfu Hey, when will this PR be merged? Thanks.

@antfu antfu merged commit 2d375d4 into unplugin:main Aug 18, 2025
6 checks passed
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.

rename or delete functions, will also exist in DTS

3 participants