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

v4.3.0 vuetify slots errors #400

Open
3 tasks done
volarname opened this issue Dec 6, 2024 · 0 comments
Open
3 tasks done

v4.3.0 vuetify slots errors #400

volarname opened this issue Dec 6, 2024 · 0 comments

Comments

@volarname
Copy link

Describe the bug

starting from 4.3.0 these errors appear when you try to do wrapper over vuetify components and export its type

src/components/datetime/ADatetimePicker.vue:621:10 - error TS4058: Return type of exported function has or is using name 'LoaderSlotProps' from external module "/home/user/projects/dummy/common-admin/node_modules/vuetify/lib/components/index" but cannot be named.

621 function __VLS_template() {
             ~~~~~~~~~~~~~~
src/components/datetime/ADatetimePicker.vue:621:10 - error TS4058: Return type of exported function has or is using name 'VInputSlot' from external module "/home/user/projects/dummy/common-admin/node_modules/vuetify/lib/components/index" but cannot be named.

391 function __VLS_template() {
             ~~~~~~~~~~~~~~
src/components/form/AFormTextField.vue:391:10 - error TS4058: Return type of exported function has or is using name 'VFieldSlot' from external module "/home/user/projects/dummy/common-admin/no

391 function __VLS_template() {
             ~~~~~~~~~~~~~~
src/components/form/AFormTextarea.vue:404:10 - error TS4058: Return type of exported function has or is using name 'DefaultInputSlot' from external module "/home/user/projects/dummy/common-admin/node_modules/vuetify/lib/components/index" but cannot be named.

Reproduction

https://github.com/anzusystems/common-admin/tree/beta

Steps to reproduce

yarn
yarn build

System Info

System:
    OS: Linux 5.15 Ubuntu 22.04.3 LTS 22.04.3 LTS (Jammy Jellyfish)
    CPU: (4) x64 13th Gen Intel(R) Core(TM) i9-13900HX
    Memory: 9.37 GB / 15.62 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 22.10.0 - ~/.nvm/versions/node/v22.10.0/bin/node
    Yarn: 4.5.3 - ~/.nvm/versions/node/v22.10.0/bin/yarn
    npm: 10.9.0 - ~/.nvm/versions/node/v22.10.0/bin/npm
  npmPackages:
    @vitejs/plugin-vue: ^5.2.1 => 5.2.1
    vite: 6.0.3 => 6.0.3
    vite-plugin-dts: 4.3.0 => 4.3.0

Validations

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