From b70cdb2113c06031610f873eb407e009e381c8d7 Mon Sep 17 00:00:00 2001 From: subal f Date: Mon, 28 May 2018 15:57:38 +0900 Subject: [PATCH] [react-rnd] fix for 'npm run lint react-rnd' --- types/react-rnd/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;