10000 Reverted change to emitter to force use of printFiles · sweshgit/TypeScript@25f4102 · GitHub
[go: up one dir, main page]

Skip to content

Commit 25f4102

Browse files
committed
Reverted change to emitter to force use of printFiles
1 parent 08036b7 commit 25f4102

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/compiler/emitter.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -287,12 +287,8 @@ namespace ts {
287287
_i = 0x10000000, // Use/preference flag for '_i'
288288
}
289289

290-
export function emitFiles(resolver: EmitResolver, host: EmitHost, targetSourceFile: SourceFile): EmitResult {
291-
return printFiles(resolver, host, targetSourceFile);
292-
}
293-
294290
// targetSourceFile is when users only want one file in entire project to be emitted. This is used in compileOnSave feature
295-
export function legacyEmitFiles(resolver: EmitResolver, host: EmitHost, targetSourceFile: SourceFile): EmitResult {
291+
export function emitFiles(resolver: EmitResolver, host: EmitHost, targetSourceFile: SourceFile): EmitResult {
296292
// emit output for the __extends helper function
297293
const extendsHelper = `
298294
var __extends = (this && this.__extends) || function (d, b) {

0 commit comments

Comments
 (0)
0