Skip to content

Commit ec983ef

Browse files
authored
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/
1 parent c1a263c commit ec983ef

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/kbn-i18n/src/react/index.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@
1818
*/
1919

2020
import { InjectedIntl as _InjectedIntl, InjectedIntlProps as _InjectedIntlProps } from 'react-intl';
21-
22-
export type InjectedIntl = _InjectedIntl;
23-
export type InjectedIntlProps = _InjectedIntlProps;
21+
export type { InjectedIntl, InjectedIntlProps } from 'react-intl';
2422

2523
export {
2624
intlShape,

0 commit comments

Comments
 (0)