-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
2.2.7
Environment
vue3
Reproduction link
https://github.com/vueComponent/ant-design-vue
Steps to reproduce
yarn run pub
What is expected?
success
What is actually happening?
components\checkbox\Checkbox.tsx(130,39): error TS2304: Cannot find name 'EventHandlerNonNull'.
components\checkbox\Checkbox.tsx(130,39): error TS2304: Cannot find name 'EventHandlerNonNull'.
components\checkbox\Checkbox.tsx(131,39): error TS2304: Cannot find name 'EventHandlerNonNull'.
components\date-picker\interface.tsx(40,13): error TS2304: Cannot find name 'EventHandlerNonNull'.
components\date-picker\interface.tsx(40,13): error TS4033: Property 'onFocus' of exported interface has or is using private name 'EventHandlerNonNull'.
components\date-picker\interface.tsx(41,12): error TS2304: Cannot find name 'EventHandlerNonNull'.
components\date-picker\interface.tsx(41,12): error TS4033: Property 'onBlur' of exported interface has or is using private name 'EventHandlerNonNull'.
components\form\utils\validateUtil.ts(55,16): error TS2339: Property 'errors' does not exist on type 'unknown'.
components\form\utils\validateUtil.ts(56,23): error TS2339: Property 'errors' does not exist on type 'unknown'.
components\input-number\index.tsx(31,32): error TS2304: Cannot find name 'EventHandlerNonNull'.
components\typography\Base.tsx(61,14): error TS2304: Cannot find name 'EventHandlerNonNull'.
components\typography\Base.tsx(61,14): error TS4033: Property 'onExpand' of exported interface has or is using private name 'EventHandlerNonNull'.
components\vc-select\generate.tsx(247,13): error TS2304: Cannot find name 'EventHandlerNonNull'.
components\vc-select\generate.tsx(247,13): error TS4033: Property 'onKeyup' of exported interface has or is using private name 'EventHandlerNonNull'.
components\vc-select\generate.tsx(248,15): error TS2304: Cannot find name 'EventHandlerNonNull'.
components\vc-select\generate.tsx(248,15): error TS4033: Property 'onKeydown' of exported interface has or is using private name 'EventHandlerNonNull'.
components\vc-select\generate.tsx(249,19): error TS2304: Cannot find name 'EventHandlerNonNull'.
components\vc-select\generate.tsx(249,19): error TS4033: Property 'onPopupScroll' of exported interface has or is using private name 'EventHandlerNonNull'.
components\vc-select\generate.tsx(253,20): error TS2304: Cannot find name 'EventHandlerNonNull'.
components\vc-select\generate.tsx(253,20): error TS4033: Property 'onInputKeyDown' of exported interface has or is using private name 'EventHandlerNonNull'.
components\vc-select\generate.tsx(254,13): error TS2304: Cannot find name 'EventHandlerNonNull'.
components\vc-select\generate.tsx(254,13): error TS4033: Property 'onClick' of exported interface has or is using private name 'EventHandlerNonNull'.
components\vc-select\generate.tsx(256,12): error TS2304: Cannot find name 'EventHandlerNonNull'.
components\vc-select\generate.tsx(256,12): error TS4033: Property 'onBlur' of exported interface has or is using private name 'EventHandlerNonNull'.
components\vc-select\generate.tsx(257,13): error TS2304: Cannot find name 'EventHandlerNonNull'.
components\vc-select\generate.tsx(257,13): error TS4033: Property 'onFocus' of exported interface has or is using private name 'EventHandlerNonNull'.
components\vc-select\generate.tsx(258,17): error TS2304: Cannot find name 'EventHandlerNonNull'.
components\vc-select\generate.tsx(258,17): error TS4033: Property 'onMousedown' of exported interface has or is using private name 'EventHandlerNonNull'.
components\vc-select\generate.tsx(259,18): error TS2304: Cannot find name 'EventHandlerNonNull'.
components\vc-select\generate.tsx(259,18): error TS4033: Property 'onMouseenter' of exported interface has or is using private name 'EventHandlerNonNull'.
components\vc-select\generate.tsx(260,18): error TS2304: Cannot find name 'EventHandlerNonNull'.
components\vc-select\generate.tsx(260,18): error TS4033: Property 'onMouseleave' of exported interface has or is using private name 'EventHandlerNonNull'.
components\vc-select\generate.tsx(320,25): error TS5088: The inferred type of 'generateSelector' references a type with a cyclic structure which cannot be trivially serialized. A type annotation is necessary.
components\vc-select\OptionList.tsx(40,13): error TS2304: Cannot find name 'EventHandlerNonNull'.
components\vc-select\OptionList.tsx(40,13): error TS4033: Property 'onScroll' of exported interface has or is using private name 'EventHandlerNonNull'.
components\vc-select\OptionList.tsx(43,18): error TS2304: Cannot find name 'EventHandlerNonNull'.
components\vc-select\OptionList.tsx(43,18): error TS4033: Property 'onMouseenter' of exported interface has or is using private name 'EventHandlerNonNull'.
components\vc-select\OptionList.tsx(93,28): error TS2304: Cannot find name 'EventHandlerNonNull'.
components\vc-select\Selector\index.tsx(60,20): error TS2304: Cannot find name 'EventHandlerNonNull'.
components\vc-select\Selector\index.tsx(60,20): error TS4033: Property 'onInputKeyDown' of exported interface has or is using private name 'EventHandlerNonNull'.
components\vc-select\Selector\Input.tsx(24,14): error TS2304: Cannot find name 'EventHandlerNonNull'.
components\vc-select\Selector\Input.tsx(24,14): error TS4033: Property 'onKeydown' of exported interface has or is using private name 'EventHandlerNonNull'.
components\vc-select\Selector\Input.tsx(25,16): error TS2304: Cannot find name 'EventHandlerNonNull'.
components\vc-select\Selector\Input.tsx(25,16): error TS4033: Property 'onMousedown' of exported interface has or is using private name 'EventHandlerNonNull'.
components\vc-select\Selector\Input.tsx(26,13): error TS2304: Cannot find name 'EventHandlerNonNull'.
components\vc-select\Selector\Input.tsx(26,13): error TS4033: Property 'onChange' of exported interface has or is using private name 'EventHandlerNonNull'.
components\vc-select\Selector\Input.tsx(27,12): error TS2304: Cannot find name 'EventHandlerNonNull'.
components\vc-select\Selector\Input.tsx(27,12): error TS4033: Property 'onPaste' of exported interface has or is using private name 'EventHandlerNonNull'.
components\vc-select\Selector\Input.tsx(28,23): error TS2304: Cannot find name 'EventHandlerNonNull'.
components\vc-select\Selector\Input.tsx(28,23): error TS4033: Property 'onCompositionstart' of exported interface has or is using private name 'EventHandlerNonNull'.
components\vc-select\Selector\Input.tsx(29,21): error TS2304: Cannot find name 'EventHandlerNonNull'.
components\vc-select\Selector\Input.tsx(29,21): error TS4033: Property 'onCompositionend' of exported interface has or is using private name 'EventHandlerNonNull'.
components\vc-select\Selector\Input.tsx(30,12): error TS2304: Cannot find name 'EventHandlerNonNull'.
components\vc-select\Selector\Input.tsx(30,12): error TS4033: Property 'onFocus' of exported interface has or is using private name 'EventHandlerNonNull'.
components\vc-select\Selector\Input.tsx(31,11): error TS2304: Cannot find name 'EventHandlerNonNull'.
components\vc-select\Selector\Input.tsx(31,11): error TS4033: Property 'onBlur' of exported interface has or is using private name 'EventHandlerNonNull'.
components\vc-select\Selector\interface.ts(21,19): error TS2304: Cannot find name 'EventHandlerNonNull'.
components\vc-select\Selector\interface.ts(21,19): error TS4033: Property 'onInputKeyDown' of exported interface has or is using private name 'EventHandlerNonNull'.
components\vc-select\Selector\interface.ts(22,21): error TS2304: Cannot find name 'EventHandlerNonNull'.
components\vc-select\Selector\interface.ts(22,21): error TS4033: Property 'onInputMouseDown' of exported interface has or is using private name 'EventHandlerNonNull'.
components\vc-select\Selector\interface.ts(23,18): error TS2304: Cannot find name 'EventHandlerNonNull'.
components\vc-select\Selector\interface.ts(23,18): error TS4033: Property 'onInputChange' of exported interface has or is using private name 'EventHandlerNonNull'.
components\vc-select\Selector\interface.ts(24,17): error TS2304: Cannot find name 'EventHandlerNonNull'.
components\vc-select\Selector\interface.ts(24,17): error TS4033: Property 'onInputPaste' of exported interface has or is using private name 'EventHandlerNonNull'.
components\vc-select\Selector\interface.ts(25,28): error TS2304: Cannot find name 'EventHandlerNonNull'.
components\vc-select\Selector\interface.ts(25,28): error TS4033: Property 'onInputCompositionStart' of exported interface has or is using private name 'EventHandlerNonNull'.
components\vc-select\Selector\interface.ts(26,26): error TS2304: Cannot find name 'EventHandlerNonNull'.
components\vc-select\Selector\interface.ts(26,26): error TS4033: Property 'onInputCompositionEnd' of exported interface has or is using private name 'EventHandlerNonNull'.