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

不能获得完整的 TS 功能 #24

Open
woohs opened this issue Jan 8, 2024 · 1 comment
Open

不能获得完整的 TS 功能 #24

woohs opened this issue Jan 8, 2024 · 1 comment

Comments

@woohs
Copy link

woohs commented Jan 8, 2024

发现组件代码都是通过透传来实现原生 antd 组件的属性定义:v-bind="$attrs"

有办法使用 ts 来获得改进吗?期望在外面使用 t-ui-plus组件的时候,也能获得内部原生 antd 组件的 ts 提示;

@VENI-VIDIVICI
Copy link

应该在组件内引入antd的props去声明

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

2 participants