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;