Prefer import type
when importing types
This commit is contained in:
parent
0f635af8a9
commit
74fde10ff5
721 changed files with 2037 additions and 1947 deletions
|
@ -8,7 +8,8 @@ import { boolean } from '@storybook/addon-knobs';
|
|||
|
||||
import { setupI18n } from '../../util/setupI18n';
|
||||
import enMessages from '../../../_locales/en/messages.json';
|
||||
import { Props, ScrollDownButton } from './ScrollDownButton';
|
||||
import type { Props } from './ScrollDownButton';
|
||||
import { ScrollDownButton } from './ScrollDownButton';
|
||||
|
||||
const i18n = setupI18n('en', enMessages);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue