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

fix: optimize the writing of import types #3412

Merged
merged 1 commit into from Jan 5, 2024
Merged

fix: optimize the writing of import types #3412

merged 1 commit into from Jan 5, 2024

Conversation

ghost
Copy link

@ghost ghost commented Jan 5, 2024

In typescript, import { type A } from 'module' will emit import {} from 'module',
If we only need to import the type, we should use import type { A } from 'module'.

fix #3411

@brc-dd brc-dd merged commit b03fb83 into vuejs:main Jan 5, 2024
7 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using different fonts, but **Inter** fonts are still packaged in production
1 participant