wheatjs / vite-plugin-vue-type-imports

Import types in Vue SFC for defineProps
223 stars 17 forks source link

feat: support more import/export syntaxes #22

Closed Zolyn closed 2 years ago

Zolyn commented 2 years ago

Description

BREAKING CHANGES

Remove option clean because the architecture of the plugin has changed in this PR, I don't think they are needed. (Of course, we can add it back if any users want this feature.)

And now the plugin has no options again so I remove the corresponding type definition.

Features

Support the following import/export syntaxes:

Bug fixes

Other changes

wheatjs commented 2 years ago

Awesome work, great job!

underdoeg commented 2 years ago

Awesome. This fixes some weird issues with imports I was trying to work around. thanks!