Skip to content

Commit c936089

Browse files
committed
type only import
1 parent e6dca9c commit c936089

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

src/harmony/versions/four-seven.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/**
22
* Changes after this point: https://github.com/microsoft/TypeScript/wiki/API-Breaking-Changes#typescript-48
33
*/
4-
import TsCurrentModule, {
4+
import type {
5+
default as TsCurrentModule,
56
AssertClause,
67
ExportDeclaration,
78
Expression,
@@ -14,8 +15,8 @@ import TsCurrentModule, {
1415
NamedExportBindings,
1516
} from "typescript";
1617
import type TsFourSevenModule from "typescript-4.7";
17-
import { TsTransformPathsContext } from "../../types";
18-
import { DownSampleTsTypes } from "../utils";
18+
import type { TsTransformPathsContext } from "../../types";
19+
import type { DownSampleTsTypes } from "../utils";
1920

2021
/* ****************************************************************************************************************** */
2122
// region: Mapping

src/harmony/versions/three-eight.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/**
22
* Changes after this point: https://github.com/microsoft/TypeScript/wiki/API-Breaking-Changes#typescript-40
33
*/
4-
import TsCurrentModule, {
4+
import type {
5+
default as TsCurrentModule,
56
EntityName,
67
ExportDeclaration,
78
Expression,
@@ -19,8 +20,8 @@ import TsCurrentModule, {
1920
TypeNode,
2021
} from "typescript";
2122
import type TsThreeEightModule from "typescript-3";
22-
import { TsTransformPathsContext } from "../../types";
23-
import { DownSampleTsTypes } from "../utils";
23+
import type { TsTransformPathsContext } from "../../types";
24+
import type { DownSampleTsTypes } from "../utils";
2425

2526
/* ****************************************************************************************************************** */
2627
// region: Mapping

0 commit comments

Comments
 (0)