Skip to content

cannot go to definition correctly #154

@decba78b

Description

@decba78b

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions