-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Labels
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
3.2.20
Environment
chrome:版本 113.0.5672.93(正式版本) (64 位)node: 16.14.2 npm:8.5.0
Reproduction link
https://github.com/vueComponent/ant-design-vue/tree/3.2.20
Steps to reproduce
- 下载3.2.20 包
- 执行 npm install (安装过程正常,无任何报错)
- 执行 npm run dev (正常)
- 执行 npm run pub 或者 npm run compile
部分出错代码:
components\anchor\AnchorLink.tsx(22,3): error TS2769: No overload matches this call.
The last overload gave the following error.
Type 'string[]' has no properties in common with type 'SlotsType<Record<string, any>>'.
components\auto-complete\index.tsx(47,3): error TS2769: No overload matches this call.
The last overload gave the following error.
Type 'string[]' has no properties in common with type 'SlotsType<Record<string, any>>'.
components\avatar\Avatar.tsx(44,3): error TS2769: No overload matches this call.
The last overload gave the following error.
Type 'string[]' has no properties in common with type 'SlotsType<Record<string, any>>'.
components\avatar\index.ts(8,8): error TS2339: Property 'Group' does not exist on type '(props: Record<string, any> & {}) => any'.
components\avatar\index.ts(11,8): error TS2339: Property 'install' does not exist on type '(props: Record<string, any> & {}) => any'.
components\badge\Badge.tsx(42,3): error TS2769: No overload matches this call.
The last overload gave the following error.
Type 'string[]' has no properties in common with type 'SlotsType<Record<string, any>>'.
components\badge\index.ts(6,7): error TS2339: Property 'install' does not exist on type '(props: Record<string, any> & {}) => any'.
components\badge\Ribbon.tsx(23,3): error TS2769: No overload matches this call.
What is expected?
能够正常打包编译
What is actually happening?
版本构建出错