From 693374319fed916994b4f17a208c8ee54cbafd6e Mon Sep 17 00:00:00 2001 From: Eugeny Voronin Date: Wed, 7 Aug 2019 01:14:14 +0300 Subject: [PATCH] Better DropAnimation typings (#37197) Change reference of Position to the local interface. --- types/react-beautiful-dnd/index.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types/react-beautiful-dnd/index.d.ts b/types/react-beautiful-dnd/index.d.ts index 237c533957..1fd9e4620c 100644 --- a/types/react-beautiful-dnd/index.d.ts +++ b/types/react-beautiful-dnd/index.d.ts @@ -200,6 +200,11 @@ export interface DropAnimation { scale?: number; } +export interface Position { + x: number; + y: number; +} + export interface DraggableProps { draggableId: DroppableId; index: number;