refactor: introduce type-only imports (#5462)

This commit is contained in:
Vladislav Shkodin
2021-05-31 14:23:16 +02:00
committed by GitHub
parent e4a29d5991
commit fc07ce6854
81 changed files with 398 additions and 362 deletions

View File

@ -1,4 +1,5 @@
import { createHashHistory, History } from 'history';
import type { History } from 'history';
import { createHashHistory } from 'history';
import { mocked } from 'ts-jest/utils';
jest.mock('history');