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

cannot go to definition correctly #154

Open
decba78b opened this issue Sep 11, 2024 · 0 comments
Open

cannot go to definition correctly #154

decba78b opened this issue Sep 11, 2024 · 0 comments

Comments

@decba78b
Copy link

Describe the bug
when I use this module, dts will be rewrite, and this make the IDE's "Go to definition" not work.

Expected behavior
the output before use module:

'NuxtWelcome': typeof import("../node_modules/nuxt/dist/app/components/welcome")['default']

the output after use module:

NuxtWelcome: (typeof import('../node_modules/nuxt/dist/app/components/welcome'))['default'];

Reproduction
here's the reproduction

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

No branches or pull requests

1 participant