Skip to content

Commit d0e4481

Browse files
committed
Generated module 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 b48ab3d commit d0e4481

File tree

240 files changed

+59371
-56342
lines changed

Some content is hidden

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

240 files changed

+59371
-56342
lines changed

src/compiler/binder.ts

Lines changed: 1237 additions & 1177 deletions
Large diffs are not rendered by default.

src/compiler/builder.ts

Lines changed: 337 additions & 322 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: 13529 additions & 13331 deletions
Large diffs are not rendered by default.

src/compiler/commandLineParser.ts

Lines changed: 845 additions & 824 deletions
Large diffs are not rendered by default.

src/compiler/core.ts

Lines changed: 171 additions & 167 deletions
Large diffs are not rendered by default.

src/compiler/debug.ts

Lines changed: 247 additions & 230 deletions
Large diffs are not rendered by default.

src/compiler/emitter.ts

Lines changed: 1713 additions & 1633 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)