mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-06 04:35:21 -05:00
Preserve newlines in our own compiler. This aids debugging as it keeps lines at a reasonable length and more closely matches the original source.
This commit is contained in:
2
Jakefile
2
Jakefile
@@ -252,7 +252,7 @@ function compileFile(outFile, sources, prereqs, prefixes, useBuiltCompiler, noOu
|
||||
options += " --stripInternal"
|
||||
}
|
||||
|
||||
options += " --cacheDownlevelForOfLength";
|
||||
options += " --cacheDownlevelForOfLength --preserveNewLines";
|
||||
|
||||
var cmd = host + " " + dir + compilerFilename + " " + options + " ";
|
||||
cmd = cmd + sources.join(" ");
|
||||
|
||||
7502
bin/tsc.js
7502
bin/tsc.js
File diff suppressed because one or more lines are too long
9013
bin/tsserver.js
9013
bin/tsserver.js
File diff suppressed because one or more lines are too long
3
bin/typescript.d.ts
vendored
3
bin/typescript.d.ts
vendored
@@ -1200,9 +1200,6 @@ declare module "typescript" {
|
||||
target?: ScriptTarget;
|
||||
version?: boolean;
|
||||
watch?: boolean;
|
||||
stripInternal?: boolean;
|
||||
preserveNewLines?: boolean;
|
||||
cacheDownlevelForOfLength?: boolean;
|
||||
[option: string]: string | number | boolean;
|
||||
}
|
||||
const enum ModuleKind {
|
||||
|
||||
8610
bin/typescript.js
8610
bin/typescript.js
File diff suppressed because one or more lines are too long
3
bin/typescriptServices.d.ts
vendored
3
bin/typescriptServices.d.ts
vendored
@@ -1200,9 +1200,6 @@ declare module ts {
|
||||
target?: ScriptTarget;
|
||||
version?: boolean;
|
||||
watch?: boolean;
|
||||
stripInternal?: boolean;
|
||||
preserveNewLines?: boolean;
|
||||
cacheDownlevelForOfLength?: boolean;
|
||||
[option: string]: string | number | boolean;
|
||||
}
|
||||
const enum ModuleKind {
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user