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

Antd components with no types #6274

Closed
1 task done
sardor01 opened this issue Feb 14, 2023 · 2 comments
Closed
1 task done

Antd components with no types #6274

sardor01 opened this issue Feb 14, 2023 · 2 comments
Labels

Comments

@sardor01
Copy link

sardor01 commented Feb 14, 2023

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.2.15

Environment

  • Operating System: Linux
  • Node Version: v18.13.0
  • Nuxt Version: 3.2.0
  • Nitro Version: 2.2.1
  • Package Manager: pnpm@7.27.0
  • Builder: vite
  • User Config: ssr, css, modules, typescript, postcss
  • Runtime Modules: @pinia/nuxt@0.4.6, @nuxtjs/i18n@8.0.0-beta.9
  • Build Modules: -

Reproduction link

https://github.com/Sardor01/nux3-admin-antd

Steps to reproduce

https://github.com/Sardor01/nux3-admin-antd

What is expected?

I installed ant-design-vue and want to use it inside any vue file. When hover over any ant-design-vue component, the type is any. I can't find any way of adding types to the project. I thought about extending .nuxt/components.d.ts, but it's impossible since it's auto generated. How should I make it typesafe?

What is actually happening?

I'm getting components with any type

@sardor01
Copy link
Author

#19016

Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant