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

The new version cannot be packaged #32206

Closed
YangFong opened this issue Sep 17, 2021 · 1 comment
Closed

The new version cannot be packaged #32206

YangFong opened this issue Sep 17, 2021 · 1 comment
Labels

Comments

@YangFong
Copy link

English is not my native language; please excuse typing errors.
Sorry, the problem I encountered cannot be expressed in the form, so I choose to publish it directly

When I choose to upgrade antd to 4.17.0-alpha.3, does not work in TypeScript packaging
I have tried to restart several times, the default installation of 4.16.13 does not have this problem, when manual upgrade, it is inevitable to encounter it again
I have TypeScript version 4.4.3 installed and use the Button component in my project
Remind me the location of the error in antd/lib/pagination/paginationd.ts. Which , located in the third line PaginationProps present TS2430

抱歉,我所遇到的问题表单无法表达,因此我选择直接发布

当我选择将antd升级到4.17.0-alpha.3版本时,TypeScript环境下无法进行打包

我尝试过了多次重新开始,默认安装的4.16.13没有此问题,当手动升级后,无法避免又遇到了它
我安装的TypeScript版本为4.4.3,在项目当中使用了Button组件
提醒我出错的地点在 antd/lib/pagination/Pagination.d.ts,位于第三行的PaginationProps呈现TS2430

import * as React from 'react';
import { PaginationLocale, PaginationProps as RcPaginationProps } from 'rc-pagination';
export interface PaginationProps extends RcPaginationProps {
//....
}
//....
@github-actions
Copy link
Contributor

Hello @YangFong, your issue has been closed because it does not conform to our issue requirements. Please use the Issue Helper to create an issue, thank you!

你好 @YangFong,为了能够进行高效沟通,我们对 issue 有一定的格式要求,你的 issue 因为不符合要求而被自动关闭。你可以通过 issue 助手 来创建 issue 以方便我们定位错误。谢谢配合!

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

1 participant