Skip to content

Commit

Permalink
Fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ivogabe committed Oct 12, 2016
1 parent 4b10786 commit 6c122bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/compiler/emitter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ namespace ts {

const printFile = createPrinter(host, undefined, createDiagnosticCollection(), transform, () => false);

printFile("output.js", "", [file], false);
printFile("output.js", "", [file], /*isBundledEmit*/ false);

// Clean up emit nodes on parse tree
factory.disposeEmitNodes(file);
Expand Down Expand Up @@ -137,7 +137,7 @@ namespace ts {
host: EmitHost,
emittedFilesList: string[],
emitterDiagnostics: DiagnosticCollection,
{ transformed, emitNodeWithSubstitution, emitNodeWithNotification }: TransformationResult,
{ emitNodeWithSubstitution, emitNodeWithNotification }: TransformationResult,
hasGlobalName: (name: string) => boolean,
sourceMapDataList?: SourceMapData[]
) {
Expand Down Expand Up @@ -310,7 +310,7 @@ const _super = (function (geti, seti) {
const cache = Object.create(null);
return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } });
})(name => super[name], (name, value) => super[name] = value);`;

const compilerOptions = host.getCompilerOptions();
const languageVersion = getEmitScriptTarget(compilerOptions);
const moduleKind = getEmitModuleKind(compilerOptions);
Expand Down

0 comments on commit 6c122bc

Please sign in to comment.