unplugin-auto-import icon indicating copy to clipboard operation
unplugin-auto-import copied to clipboard

feat(dts): introduce the `dtsMode` to control the behavior of generating dts file

Open noootwo opened this issue 1 year ago • 1 comments

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

noootwo avatar Dec 27 '24 11:12 noootwo

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

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

otomad avatar Aug 17 '25 19:08 otomad