Skip to content

Commit 64b75da

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 85481c6 commit 64b75da

File tree

238 files changed

+58872
-55885
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

+58872
-55885
lines changed

src/compiler/binder.ts

Lines changed: 1236 additions & 1178 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: 13464 additions & 13266 deletions
Large diffs are not rendered by default.

src/compiler/commandLineParser.ts

Lines changed: 835 additions & 814 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: 1687 additions & 1609 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)