Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: enhance TypeScript declaration generation#840

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
kuoruan wants to merge4 commits intounplugin:main
base:main
Choose a base branch
Loading
fromkuoruan:feat-dts

Conversation

kuoruan
Copy link

Description

This PR allows the user:

  • generate multiple dts files
  • ignore declaration generate for some components or directives.

Linked Issues

No

Additional context

@kuoruankuoruan requested a review fromantfu as acode ownerMay 8, 2025 15:06
@bolt-new-by-stackblitzBolt.new (by StackBlitz)
Copy link

Review PR in StackBlitz CodeflowRun & review this pull request inStackBlitz Codeflow.

@kuoruankuoruan marked this pull request as draftMay 8, 2025 15:06
@kuoruankuoruan marked this pull request as ready for reviewMay 9, 2025 02:41
@kuoruan
Copy link
Author

@antfu Can you please review this?

@antfu
Copy link
Member

What's the reason you want it to generate multiple files? I am not sure if the complexity here is worth it

@kuoruan
Copy link
Author

@antfu The main purpose is to ignore definition for some components.
For example, some component libraries (like naive-ui orunplugin-icons) already provide d.ts files, but sinceunplugin-vue-components doesn't have a way to ignore it. Thecomponents.d.ts file will always be changed when collaborating on a project, which can easily cause conflicts.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@antfuantfuAwaiting requested review from antfuantfu is a code owner

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@kuoruan@antfu

[8]ページ先頭

©2009-2025 Movatter.jp