diff --git a/src/compiler/emitter.ts b/src/compiler/emitter.ts index 61d60aebf3..db13a2c03c 100644 --- a/src/compiler/emitter.ts +++ b/src/compiler/emitter.ts @@ -3300,7 +3300,7 @@ module ts { // When targeting ES6, emit arrow function natively in ES6 if (isES6ArrowFunction(node)) { - write(" => "); + write(" =>"); } write(" {"); diff --git a/src/harness/projectsRunner.ts b/src/harness/projectsRunner.ts index cbef1a2e71..9b16e93d8e 100644 --- a/src/harness/projectsRunner.ts +++ b/src/harness/projectsRunner.ts @@ -164,8 +164,7 @@ class ProjectRunner extends RunnerBase { mapRoot: testCase.resolveMapRoot && testCase.mapRoot ? ts.sys.resolvePath(testCase.mapRoot) : testCase.mapRoot, sourceRoot: testCase.resolveSourceRoot && testCase.sourceRoot ? ts.sys.resolvePath(testCase.sourceRoot) : testCase.sourceRoot, module: moduleKind, - noResolve: testCase.noResolve, - target: ts.ScriptTarget.Latest + noResolve: testCase.noResolve }; }