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

Wrong definition generations since 3.8.2 for #325

Closed
3 tasks done
skill83 opened this issue May 3, 2024 · 1 comment
Closed
3 tasks done

Wrong definition generations since 3.8.2 for #325

skill83 opened this issue May 3, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@skill83
Copy link

skill83 commented May 3, 2024

Describe the bug

It seems that after 3.8.2 update in same cases the generation of the type definitions if cleanVueFileName is set to true, is wrong when there is a "PropType<import("
Screenshot 2024-05-03 alle 11 55 44
Screenshot 2024-05-03 alle 11 57 31

The issue is still present in 3.9.0.

Thanks
Screenshot 2024-05-03 alle 12 12 20

Reproduction

https://stackblitz.com/edit/vitejs-vite-bpsvcd?file=vite.config.ts,tsconfig.json,package.json,index.html,src%2Fvite-env.d.ts,src%2Fmain.ts,src%2FApp.vue,src%2Fcomponents%2FBreadcrumbCmp.vue,src%2Fcomponents%2Findex.ts,src%2Fcomponents%2Flib.ts,yarn.lock,dist%2Flib.d.ts&terminal=dev

Steps to reproduce

yarn
yarn build

System Info

System:
    OS: macOS 14.4.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 55.45 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.20.2 - ~/.nvm/versions/node/v18.20.2/bin/node
    Yarn: 1.22.22 - ~/.nvm/versions/node/v18.20.2/bin/yarn
    npm: 10.5.0 - ~/.nvm/versions/node/v18.20.2/bin/npm
  Browsers:
    Chrome: 124.0.6367.119
    Edge: 124.0.2478.67
    Firefox: 124.0.2
    Safari: 17.4.1

Validations

@qmhc qmhc added the bug Something isn't working label May 4, 2024
@qmhc qmhc closed this as completed in 0a3ad73 May 5, 2024
@0x1f57
Copy link

0x1f57 commented Aug 20, 2024

Oops, this problem reappeared in 4.0.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants