From e9f4b7b25b6ec0bf3f8e7a4ce2ab0888209f1d90 Mon Sep 17 00:00:00 2001 From: Kanchalai Tanglertsampan Date: Wed, 19 Apr 2017 16:31:29 -0700 Subject: [PATCH] Update props type to be empty object as props always be {} even though there are no attributes defined --- types/react-sortable-hoc/react-sortable-hoc-tests.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-sortable-hoc/react-sortable-hoc-tests.tsx b/types/react-sortable-hoc/react-sortable-hoc-tests.tsx index 8f10b69a17..9bdb082ab2 100644 --- a/types/react-sortable-hoc/react-sortable-hoc-tests.tsx +++ b/types/react-sortable-hoc/react-sortable-hoc-tests.tsx @@ -32,7 +32,7 @@ const SortableList = ReactSortableHOC.SortableContainer((props: SortableListProp return ; }); -class SortableComponent extends React.Component { +class SortableComponent extends React.Component<{}, SortableComponentState> { private _onSortEnd: ReactSortableHOC.SortEndHandler; private _handleSotEnd(sort: ReactSortableHOC.SortEnd, event: ReactSortableHOC.SortEvent): void {