From cdd0c96d0a628ef46a31f862fe05bb39ec5330b7 Mon Sep 17 00:00:00 2001 From: Karol Janyst Date: Mon, 19 Nov 2018 18:06:42 +0900 Subject: [PATCH] Fix type for react-intl HoC --- types/react-intl/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/react-intl/index.d.ts b/types/react-intl/index.d.ts index 37b652b832..17e738bb2a 100644 --- a/types/react-intl/index.d.ts +++ b/types/react-intl/index.d.ts @@ -29,8 +29,8 @@ declare namespace ReactIntl { withRef?: boolean; } - function injectIntl

(component: React.ComponentType

, options?: InjectIntlConfig): - React.ComponentClass>> & { WrappedComponent: React.ComponentType

}; + function injectIntl

(component: React.ComponentType

, options?: InjectIntlConfig): + React.ComponentClass>> & { WrappedComponent: React.ComponentType

}; function addLocaleData(data: Locale[] | Locale): void;