fix InputNumber onChange argument type

This commit is contained in:
afc163 2017-02-07 17:27:28 +08:00
parent d8f6accbba
commit ef5df24936

View File

@ -9,7 +9,7 @@ export interface InputNumberProps {
value?: number;
step?: number | string;
defaultValue?: number;
onChange?: (value: number) => void;
onChange?: (value: number | string | undefined) => void;
disabled?: boolean;
size?: 'large' | 'small' | 'default';
placeholder?: string;