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
[TypeScript] [slider] An explicit type annotation is needed. #16556
Comments
Hello @Hao869. Please provide an online reproduction demo by clicking this link or a minimal GitHub repository. Issues marked with 你好 @Hao869, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。可以通过点击 此处 创建或者提供一个最小化的 GitHub 仓库。3 天内未跟进此 issue 将会被自动关闭。 |
|
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. 此 issue 已被自动锁定,因为关闭后没有任何近期活动。如果有相关 bug,请重新创建一个新 issue。 |
Bug Type:
TypeScript
Environment
3.2.37
2.7.0
Mozilla/5.0 (Windows NT 10.0; Win64; x64)
Rollup
Reproduction
Related Component
el-slider
Reproduction Link
Github Repo
Steps to reproduce
input组件中增加tooltip组件,generateTypesDefinitions会运行错误:error TS7056: The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed.
What is Expected?
no error
What is actually happening?
task generateTypesDefinitions会运行错误:ERROR ../../packages/components/slider/src/slider.vue.ts:20:1 - error TS7056: The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed.
Additional comments
(empty)
The text was updated successfully, but these errors were encountered: