Skip to content

Commit 197b16d

Browse files
committed
build: allow type-only imports to be used
The internal limitations around type-only imports have been removed so now we can start using them. (cherry picked from commit af369ea)
1 parent b21fbf1 commit 197b16d

File tree

3 files changed

+1
-20
lines changed

3 files changed

+1
-20
lines changed

src/circular-deps-test.conf.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ module.exports = {
1414
glob: `./**/*.ts`,
1515
// Command that will be displayed if the golden needs to be updated.
1616
approveCommand: 'yarn ts-circular-deps:approve',
17+
ignoreTypeOnlyChecks: true,
1718
resolveModule,
1819
};
1920

tools/tslint-rules/noTypeOnlyImportExportRule.ts

Lines changed: 0 additions & 19 deletions
This file was deleted.

tslint.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@
6161
// Custom Rules
6262
"ts-loader": true,
6363
"no-exposed-todo": true,
64-
"no-type-only-import-export": true,
6564
"no-private-getters": [true, "^_"],
6665
"no-undecorated-base-class-di": true,
6766
"no-undecorated-class-with-angular-features": true,

0 commit comments

Comments
 (0)