Skip to content

declare module 'vue' breaks types for auto imported components #2729

Closed Answered by posva
J-Michalek asked this question in Help and Questions
Discussion options

You must be logged in to vote

BTW: updating vue-router's d.ts to also use declare module 'vue' makes everything work. Using multiple declare module at the same time like auto imports breaks the in template auto imports.

Edit: released vue-router with the update and it's fixed

Replies: 5 comments 19 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
19 replies
@xmatthias
Comment options

@posva
Comment options

@xmatthias
Comment options

@posva
Comment options

Answer selected by posva
@posva
Comment options

@xmatthias
Comment options

@J-Michalek
Comment options

@cooper667
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need repro This issue couldn't be reproduced
5 participants
Converted from issue

This discussion was converted from issue #2728 on July 31, 2024 08:48.