-
-
Notifications
You must be signed in to change notification settings - Fork 185
Closed
Description
After updating to 7.3.7 (#470), we get the following message when building in production:
Interface 'InputNumberProps<T>' incorrectly extends interface 'Omit<InputHTMLAttributes<HTMLInputElement>, "value" | "defaultValue" | "onChange" | "onInput">'.
Types of property 'max' are incompatible.
Type 'T | undefined' is not assignable to type 'string | number | undefined'.
Type 'T' is not assignable to type 'string | number | undefined'.
Type 'ValueType' is not assignable to type 'string | number | undefined'.
Type 'null' is not assignable to type 'string | number | undefined'.
Environment:
- React: 17.0.2
- Ant Design: 4.22.8
- TypeScript: 4.7.4
Shawn-Cui, jljouannic and dsherret
Metadata
Metadata
Assignees
Labels
No labels