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

a-select组件升级到2.55.3后,打包时ts报类型声明错误,没有scrollToClose属性。但是2.46版本trigger就已经提供该属性。 #3376

Open
1 task done
lingangle opened this issue Dec 17, 2024 · 2 comments
Labels

Comments

@lingangle
Copy link

lingangle commented Dec 17, 2024

Basic Info

Extra info

报错: node_modules/.pnpm/@arco-design [email protected][email protected][email protected]_/node_modules/@arco-design/web-vue/es/select/index.d.ts:63:13
Type '{ updateAtScroll: true; scrollToClose: true; }' is not assignable to type 'TriggerProps'.
Object literal may only specify known properties, and 'scrollToClose' does not exist in type 'TriggerProps'

What is expected?

编译不报错

Steps to reproduce

.....

@lingangle lingangle changed the title a-select组件升级到2.55.3后,ts报类型声明错误,没有scrollToClose属性。但是2.46版本trigger就已经提供该属性。 a-select组件升级到2.55.3后,打包时ts报类型声明错误,没有scrollToClose属性。但是2.46版本trigger就已经提供该属性。 Dec 17, 2024
@lingangle
Copy link
Author

在 node_modules/.pnpm/@arco-design[email protected][email protected][email protected]_/node_modules/@arco-design/web-vue/es/trigger/interface.d.ts 这个声明文件里缺少scrollToClose 这个属性的声明。

Copy link

我们完全同意该提议/反馈,欢迎直接在此仓库创建 Pull Request 来解决这个问题。贡献前请务必阅读贡献指南,Pull Request 时根据需改动内容填写预设模板,我们会尽快进行 Review,感谢您的贡献!

We agree with this suggestion/feedback and welcome to create a Pull Request in this repository to help address the issue. Before contributing, please make sure to read the Contributing Guide. When submitting a Pull Request, kindly use the appropriate PR template based on the changes you’re making. We’ll review it as soon as possible. Thank you for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants