You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Observe the TypeScript error encountered during the build process.
What is Expected?
The build process should complete successfully without encountering any TypeScript errors.
What is Actually Happening?
During the build process, the TypeScript error TS2430 occurs in the file node_modules/rc-picker/lib/PickerPanel/index.d.ts.
node_modules/rc-picker/lib/PickerPanel/index.d.ts:40:18 - error TS2430: Interface 'SinglePickerPanelProps<DateType>' incorrectly extends interface 'BasePickerPanelProps<DateType>'.
Types of property 'defaultValue' are incompatible.
Type 'DateType | null | undefined' is not assignable to type'DateType | undefined'.
Type 'null' is not assignable to type'DateType | undefined'.
40 export interface SinglePickerPanelProps<DateType extends object = any> extends BasePickerPanelProps<DateType> {
~~~~~~~~~~~~~~~~~~~~~~
Found 1 error in node_modules/rc-picker/lib/PickerPanel/index.d.ts:40
Additional Comments:
Dependency
Version
antd
5.14.1
dayjs
1.11.10
react
^18.2.0
react-dom
^18.2.0
The text was updated successfully, but these errors were encountered:
Reproduction link
Steps to Reproduce:
What is Expected?
The build process should complete successfully without encountering any TypeScript errors.
What is Actually Happening?
During the build process, the TypeScript error TS2430 occurs in the file node_modules/rc-picker/lib/PickerPanel/index.d.ts.
Additional Comments:
The text was updated successfully, but these errors were encountered: