Skip to content

Commit 949b0ec

Browse files
committed
CONVERSION STEP - inlineImports
This step converts as many explicit accesses as possible in favor of direct imports from the modules in which things were declared. This restores the code (as much as possible) back to how it looked originally before the explicitify step, e.g. instead of "ts.Node" and "ts.Symbol", we have just "Node" and "Symbol".
1 parent f463aba commit 949b0ec

File tree

238 files changed

+59207
-56203
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

238 files changed

+59207
-56203
lines changed

src/compiler/binder.ts

Lines changed: 1240 additions & 1181 deletions
Large diffs are not rendered by default.

src/compiler/builder.ts

Lines changed: 334 additions & 319 deletions
Large diffs are not rendered by default.

src/compiler/builderPublic.ts

Lines changed: 40 additions & 35 deletions
Large diffs are not rendered by default.

src/compiler/builderState.ts

Lines changed: 100 additions & 93 deletions
Large diffs are not rendered by default.

src/compiler/builderStatePublic.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
import * as ts from "./_namespaces/ts";
1+
import { BuildInfo, Diagnostic } from "./_namespaces/ts";
22

33
export interface EmitOutput {
44
outputFiles: OutputFile[];
55
emitSkipped: boolean;
6-
/* @internal */ diagnostics: readonly ts.Diagnostic[];
6+
/* @internal */ diagnostics: readonly Diagnostic[];
77
}
88

99
export interface OutputFile {
1010
name: string;
1111
writeByteOrderMark: boolean;
1212
text: string;
13-
/* @internal */ buildInfo?: ts.BuildInfo
13+
/* @internal */ buildInfo?: BuildInfo
1414
}

src/compiler/checker.ts

Lines changed: 13515 additions & 13316 deletions
Large diffs are not rendered by default.

src/compiler/commandLineParser.ts

Lines changed: 836 additions & 815 deletions
Large diffs are not rendered by default.

src/compiler/core.ts

Lines changed: 169 additions & 165 deletions
Large diffs are not rendered by default.

src/compiler/debug.ts

Lines changed: 245 additions & 228 deletions
Large diffs are not rendered by default.

src/compiler/emitter.ts

Lines changed: 1710 additions & 1631 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)