diff --git a/index.d.ts b/index.d.ts index bfc1540f1..9d08313e0 100644 --- a/index.d.ts +++ b/index.d.ts @@ -100,12 +100,12 @@ export interface ResizableProps { }, className?: string, defaultSize?: { - width: string | number, - height: string | number, + width?: string | number, + height?: string | number, }, size?: { - width: string | number, - height: string | number, + width?: string | number, + height?: string | number, }, minWidth?: number | string, minHeight?: number | string,