Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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

Copy link

stackblitz bot commented Dec 27, 2024

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

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
1 participant