Skip to content

Commit 6977597

Browse files
devversionandrewseguin
authored andcommitted
build: cleanup leftover from esModuleInterop in tools (#24493)
Cleans up a few leftovers that were accidentally missed in: 0f8d529 (cherry picked from commit 9ad184d)
1 parent e2d4eec commit 6977597

12 files changed

+12
-12
lines changed

scripts/generate-schematic-imports-map.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {sync as glob} from 'glob';
22
import {readFileSync, writeFileSync} from 'fs';
33
import {join, basename} from 'path';
4-
import * as ts from 'typescript';
4+
import ts from 'typescript';
55

66
// Script that generates mappings from our publicly-exported symbols to their entry points. The
77
// mappings are intended to be used by the secondary entry points schematic and should be committed

tools/tslint-rules/noHostDecoratorInConcreteRule.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as ts from 'typescript';
1+
import ts from 'typescript';
22
import * as Lint from 'tslint';
33

44
export class Rule extends Lint.Rules.AbstractRule {

tools/tslint-rules/noLifecycleInvocationRule.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as path from 'path';
22
import * as Lint from 'tslint';
3-
import * as ts from 'typescript';
3+
import ts from 'typescript';
44
import minimatch from 'minimatch';
55

66
const hooks = new Set([

tools/tslint-rules/noNestedTernaryRule.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as Lint from 'tslint';
2-
import * as ts from 'typescript';
2+
import ts from 'typescript';
33

44
/** Rule that enforces that ternary expressions aren't being nested. */
55
export class Rule extends Lint.Rules.AbstractRule {

tools/tslint-rules/noPrivateGettersRule.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as ts from 'typescript';
1+
import ts from 'typescript';
22
import * as Lint from 'tslint';
33
import * as tsutils from 'tsutils';
44

tools/tslint-rules/noUndecoratedBaseClassDiRule.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as Lint from 'tslint';
2-
import * as ts from 'typescript';
2+
import ts from 'typescript';
33

44
const RULE_FAILURE =
55
`Class inherits constructor using dependency injection from ` +

tools/tslint-rules/noUndecoratedClassWithAngularFeaturesRule.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as Lint from 'tslint';
2-
import * as ts from 'typescript';
2+
import ts from 'typescript';
33

44
const RULE_FAILURE =
55
`Undecorated class uses Angular features. Undecorated ` +

tools/tslint-rules/noUnescapedHtmlTagRule.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as ts from 'typescript';
1+
import ts from 'typescript';
22
import * as Lint from 'tslint';
33
import * as utils from 'tsutils';
44

tools/tslint-rules/preferConstEnumRule.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as ts from 'typescript';
1+
import ts from 'typescript';
22
import * as Lint from 'tslint';
33
import * as tsutils from 'tsutils';
44

tools/tslint-rules/requireBreakingChangeVersionRule.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as ts from 'typescript';
1+
import ts from 'typescript';
22
import * as Lint from 'tslint';
33
import * as utils from 'tsutils';
44

tools/tslint-rules/settersAfterGettersRule.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as ts from 'typescript';
1+
import ts from 'typescript';
22
import * as Lint from 'tslint';
33
import * as tsutils from 'tsutils';
44

tools/tslint-rules/symbolNamingRule.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as ts from 'typescript';
1+
import ts from 'typescript';
22
import * as Lint from 'tslint';
33

44
/** Lint rule that checks the names of classes and interfaces against a pattern. */

0 commit comments

Comments
 (0)