do not export types from 3rd party modules as 'type' (#83803)

to avoid inlining. see 9 https://www.techatbloomberg.com/blog/10-insights-adopting-typescript-at-scale/
This commit is contained in:
Mikhail Shustov 2020-11-20 17:27:37 +03:00 committed by GitHub
parent c1a263cff4
commit ec983ef610
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,9 +18,7 @@
*/
import { InjectedIntl as _InjectedIntl, InjectedIntlProps as _InjectedIntlProps } from 'react-intl';
export type InjectedIntl = _InjectedIntl;
export type InjectedIntlProps = _InjectedIntlProps;
export type { InjectedIntl, InjectedIntlProps } from 'react-intl';
export {
intlShape,