diff --git a/types/react-rnd/index.d.ts b/types/react-rnd/index.d.ts index 11af9b121c..27876914c6 100644 --- a/types/react-rnd/index.d.ts +++ b/types/react-rnd/index.d.ts @@ -19,7 +19,7 @@ declare namespace Rnd { | 'topLeft' | 'topRight'; - export type Enable = { + interface Enable { bottom?: boolean; bottomLeft?: boolean; bottomRight?: boolean; @@ -29,7 +29,7 @@ declare namespace Rnd { topLeft?: boolean; topRight?: boolean; } - + interface HandleClasses { bottom?: string; bottomLeft?: string; @@ -103,7 +103,7 @@ declare namespace Rnd { lockAspectRatio: boolean; enableResizing?: Enable; - disableDragging?: boolean + disableDragging?: boolean; onResizeStart: () => void; onResize: () => void;