diff --git a/components/input-number/index.tsx b/components/input-number/index.tsx index 91a9534f4a..66cdcad85d 100644 --- a/components/input-number/index.tsx +++ b/components/input-number/index.tsx @@ -20,7 +20,7 @@ export interface InputNumberProps step?: number | string; defaultValue?: number; tabIndex?: number; - onChange?: (value: number | undefined) => void; + onChange?: (value: number | string | undefined) => void; disabled?: boolean; size?: SizeType; formatter?: (value: number | string | undefined) => string;