From 5e1d37e648cab65c3bf42e5e897e24174d06243c Mon Sep 17 00:00:00 2001 From: Javier Gonzalez Date: Thu, 7 Jun 2018 20:00:54 +0200 Subject: [PATCH] [react-rnd] Fix for default export The class is exported as default. If you use TS without synthetic imports enabled then the import doesn't work. This little change fixes that (tested). --- types/react-rnd/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-rnd/index.d.ts b/types/react-rnd/index.d.ts index 31d477ca5e..78beb27c54 100644 --- a/types/react-rnd/index.d.ts +++ b/types/react-rnd/index.d.ts @@ -117,4 +117,4 @@ declare namespace Rnd { declare class Rnd extends React.Component> {} -export = Rnd; +export default Rnd;