mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Issue error on outFile as well
This commit is contained in:
@@ -4262,7 +4262,8 @@ export function createProgram(_rootNamesOrOptions: readonly string[] | CreatePro
|
||||
!options.rootDir &&
|
||||
options.configFilePath &&
|
||||
(options.outDir || // there is --outDir specified
|
||||
(getEmitDeclarations(options) && options.declarationDir)) // there is --declarationDir specified
|
||||
(getEmitDeclarations(options) && options.declarationDir) || // there is --declarationDir specified
|
||||
options.outFile)
|
||||
) {
|
||||
// Check if rootDir inferred changed and issue diagnostic
|
||||
const dir = getCommonSourceDirectory();
|
||||
@@ -4272,8 +4273,8 @@ export function createProgram(_rootNamesOrOptions: readonly string[] | CreatePro
|
||||
// change in layout
|
||||
createDiagnosticForOption(
|
||||
/*onKey*/ true,
|
||||
options.outDir ? "outDir" : "declarationDir",
|
||||
options.outDir ? "declarationDir" : undefined,
|
||||
options.outFile ? "outFile" : options.outDir ? "outDir" : "declarationDir",
|
||||
!options.outFile && options.outDir ? "declarationDir" : undefined,
|
||||
chainDiagnosticMessages(
|
||||
chainDiagnosticMessages(/*details*/ undefined, Diagnostics.Visit_https_Colon_Slash_Slashaka_ms_Slashts6_for_migration_information),
|
||||
Diagnostics.The_common_source_directory_of_0_is_1_The_rootDir_setting_must_be_explicitly_set_to_this_or_another_path_to_adjust_your_output_s_file_layout,
|
||||
|
||||
+30
-4
@@ -57,6 +57,12 @@ Output::
|
||||
[7m2[0m export const api = ky.extend({});
|
||||
[7m [0m [91m ~~~[0m
|
||||
|
||||
[96mtsconfig.json[0m:[93m8[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m8[0m "outFile": "./outFile.js"
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
TSFILE: /home/src/workspaces/project/outFile.js
|
||||
TSFILE: /home/src/workspaces/project/outFile.tsbuildinfo
|
||||
../../tslibs/TS/Lib/lib.d.ts
|
||||
@@ -66,7 +72,7 @@ ky.d.ts
|
||||
src/index.ts
|
||||
Matched by include pattern 'src' in 'tsconfig.json'
|
||||
|
||||
Found 1 error.
|
||||
Found 2 errors.
|
||||
|
||||
|
||||
|
||||
@@ -80,7 +86,7 @@ define("src/index", ["require", "exports", "ky"], function (require, exports, ky
|
||||
|
||||
|
||||
//// [/home/src/workspaces/project/outFile.tsbuildinfo]
|
||||
{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./ky.d.ts","./src/index.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","10101889135-type KyInstance = {\n extend(options: Record<string,unknown>): KyInstance;\n}\ndeclare const ky: KyInstance;\nexport default ky;\n","-383421929-import ky from 'ky';\nexport const api = ky.extend({});\n"],"root":[3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js","skipDefaultLibCheck":true,"skipLibCheck":true},"emitDiagnosticsPerFile":[[3,[{"start":34,"length":3,"messageText":"Exported variable 'api' has or is using name 'KyInstance' from external module \"/home/src/workspaces/project/ky\" but cannot be named.","category":1,"code":4023}]]],"version":"FakeTSVersion"}
|
||||
{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./ky.d.ts","./src/index.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","10101889135-type KyInstance = {\n extend(options: Record<string,unknown>): KyInstance;\n}\ndeclare const ky: KyInstance;\nexport default ky;\n","-383421929-import ky from 'ky';\nexport const api = ky.extend({});\n"],"root":[3],"options":{"declaration":true,"module":2,"outFile":"./outFile.js","skipDefaultLibCheck":true,"skipLibCheck":true},"semanticDiagnosticsPerFile":[1,2,3],"emitDiagnosticsPerFile":[[3,[{"start":34,"length":3,"messageText":"Exported variable 'api' has or is using name 'KyInstance' from external module \"/home/src/workspaces/project/ky\" but cannot be named.","category":1,"code":4023}]]],"version":"FakeTSVersion"}
|
||||
|
||||
//// [/home/src/workspaces/project/outFile.tsbuildinfo.readable.baseline.txt]
|
||||
{
|
||||
@@ -107,6 +113,20 @@ define("src/index", ["require", "exports", "ky"], function (require, exports, ky
|
||||
"skipDefaultLibCheck": true,
|
||||
"skipLibCheck": true
|
||||
},
|
||||
"semanticDiagnosticsPerFile": [
|
||||
[
|
||||
"../../tslibs/ts/lib/lib.d.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./ky.d.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./src/index.ts",
|
||||
"not cached or not changed"
|
||||
]
|
||||
],
|
||||
"emitDiagnosticsPerFile": [
|
||||
[
|
||||
"./src/index.ts",
|
||||
@@ -122,7 +142,7 @@ define("src/index", ["require", "exports", "ky"], function (require, exports, ky
|
||||
]
|
||||
],
|
||||
"version": "FakeTSVersion",
|
||||
"size": 1094
|
||||
"size": 1131
|
||||
}
|
||||
|
||||
|
||||
@@ -146,6 +166,12 @@ Output::
|
||||
[7m2[0m export const api = ky.extend({});
|
||||
[7m [0m [91m ~~~[0m
|
||||
|
||||
[96mtsconfig.json[0m:[93m8[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m8[0m "outFile": "./outFile.js"
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
../../tslibs/TS/Lib/lib.d.ts
|
||||
Default library for target 'es5'
|
||||
ky.d.ts
|
||||
@@ -153,7 +179,7 @@ ky.d.ts
|
||||
src/index.ts
|
||||
Matched by include pattern 'src' in 'tsconfig.json'
|
||||
|
||||
Found 1 error.
|
||||
Found 2 errors.
|
||||
|
||||
|
||||
|
||||
|
||||
+14
-2
@@ -56,6 +56,12 @@ Output::
|
||||
[7m2[0m export const api = ky.extend({});
|
||||
[7m [0m [91m ~~~[0m
|
||||
|
||||
[96mtsconfig.json[0m:[93m7[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m7[0m "outFile": "./outFile.js"
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
TSFILE: /home/src/workspaces/project/outFile.js
|
||||
TSFILE: /home/src/workspaces/project/outFile.tsbuildinfo
|
||||
../../tslibs/TS/Lib/lib.d.ts
|
||||
@@ -67,7 +73,7 @@ src/index.ts
|
||||
[[90mHH:MM:SS AM[0m] Updating unchanged output timestamps of project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
|
||||
Found 1 error.
|
||||
Found 2 errors.
|
||||
|
||||
|
||||
|
||||
@@ -114,6 +120,12 @@ Output::
|
||||
[7m2[0m export const api = ky.extend({});
|
||||
[7m [0m [91m ~~~[0m
|
||||
|
||||
[96mtsconfig.json[0m:[93m7[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m7[0m "outFile": "./outFile.js"
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
TSFILE: /home/src/workspaces/project/outFile.js
|
||||
TSFILE: /home/src/workspaces/project/outFile.tsbuildinfo
|
||||
../../tslibs/TS/Lib/lib.d.ts
|
||||
@@ -125,7 +137,7 @@ src/index.ts
|
||||
[[90mHH:MM:SS AM[0m] Updating unchanged output timestamps of project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
|
||||
Found 1 error.
|
||||
Found 2 errors.
|
||||
|
||||
|
||||
|
||||
|
||||
+395
-212
@@ -61,10 +61,11 @@ Output::
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
[96mtsconfig.json[0m:[93m5[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m5[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error.
|
||||
@@ -141,6 +142,102 @@ declare module "src/noChangeFile" {
|
||||
declare function someFunc(arguments: boolean, ...rest: any[]): void;
|
||||
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo]
|
||||
{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"}
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt]
|
||||
{
|
||||
"fileNames": [
|
||||
"../tslibs/ts/lib/lib.d.ts",
|
||||
"./project/src/class.ts",
|
||||
"./project/src/indirectclass.ts",
|
||||
"./project/src/directuse.ts",
|
||||
"./project/src/indirectuse.ts",
|
||||
"./project/src/nochangefile.ts",
|
||||
"./project/src/nochangefilewithemitspecificerror.ts"
|
||||
],
|
||||
"fileInfos": {
|
||||
"../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };",
|
||||
"./project/src/class.ts": "545032748-export class classC {\n prop = 1;\n}",
|
||||
"./project/src/indirectclass.ts": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}",
|
||||
"./project/src/directuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",
|
||||
"./project/src/indirectuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",
|
||||
"./project/src/nochangefile.ts": "6714567633-export function writeLog(s: string) {\n}",
|
||||
"./project/src/nochangefilewithemitspecificerror.ts": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"
|
||||
},
|
||||
"root": [
|
||||
[
|
||||
[
|
||||
2,
|
||||
7
|
||||
],
|
||||
[
|
||||
"./project/src/class.ts",
|
||||
"./project/src/indirectclass.ts",
|
||||
"./project/src/directuse.ts",
|
||||
"./project/src/indirectuse.ts",
|
||||
"./project/src/nochangefile.ts",
|
||||
"./project/src/nochangefilewithemitspecificerror.ts"
|
||||
]
|
||||
]
|
||||
],
|
||||
"options": {
|
||||
"declaration": true,
|
||||
"module": 2,
|
||||
"outFile": "./outFile.js"
|
||||
},
|
||||
"semanticDiagnosticsPerFile": [
|
||||
[
|
||||
"../tslibs/ts/lib/lib.d.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/class.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/indirectclass.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/directuse.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/indirectuse.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/nochangefile.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/nochangefilewithemitspecificerror.ts",
|
||||
"not cached or not changed"
|
||||
]
|
||||
],
|
||||
"version": "FakeTSVersion",
|
||||
"size": 1296
|
||||
}
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
|
||||
|
||||
Change:: No Change run with noEmit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js -b -v . --noEmit
|
||||
Output::
|
||||
[[90mHH:MM:SS AM[0m] Projects in this build:
|
||||
* tsconfig.json
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors.
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo]
|
||||
{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"version":"FakeTSVersion"}
|
||||
|
||||
@@ -205,24 +302,6 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void;
|
||||
}
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
|
||||
|
||||
Change:: No Change run with noEmit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js -b -v . --noEmit
|
||||
Output::
|
||||
[[90mHH:MM:SS AM[0m] Projects in this build:
|
||||
* tsconfig.json
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors.
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
|
||||
|
||||
|
||||
exitCode:: ExitStatus.Success
|
||||
|
||||
Change:: No Change run with noEmit
|
||||
@@ -418,10 +497,11 @@ Output::
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
[96mtsconfig.json[0m:[93m5[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m5[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error.
|
||||
@@ -430,6 +510,129 @@ Found 1 error.
|
||||
|
||||
//// [/home/src/workspaces/outFile.js] file written with same contents
|
||||
//// [/home/src/workspaces/outFile.d.ts] file written with same contents
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo]
|
||||
{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"}
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt]
|
||||
{
|
||||
"fileNames": [
|
||||
"../tslibs/ts/lib/lib.d.ts",
|
||||
"./project/src/class.ts",
|
||||
"./project/src/indirectclass.ts",
|
||||
"./project/src/directuse.ts",
|
||||
"./project/src/indirectuse.ts",
|
||||
"./project/src/nochangefile.ts",
|
||||
"./project/src/nochangefilewithemitspecificerror.ts"
|
||||
],
|
||||
"fileInfos": {
|
||||
"../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };",
|
||||
"./project/src/class.ts": "545032748-export class classC {\n prop = 1;\n}",
|
||||
"./project/src/indirectclass.ts": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}",
|
||||
"./project/src/directuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",
|
||||
"./project/src/indirectuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",
|
||||
"./project/src/nochangefile.ts": "6714567633-export function writeLog(s: string) {\n}",
|
||||
"./project/src/nochangefilewithemitspecificerror.ts": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"
|
||||
},
|
||||
"root": [
|
||||
[
|
||||
[
|
||||
2,
|
||||
7
|
||||
],
|
||||
[
|
||||
"./project/src/class.ts",
|
||||
"./project/src/indirectclass.ts",
|
||||
"./project/src/directuse.ts",
|
||||
"./project/src/indirectuse.ts",
|
||||
"./project/src/nochangefile.ts",
|
||||
"./project/src/nochangefilewithemitspecificerror.ts"
|
||||
]
|
||||
]
|
||||
],
|
||||
"options": {
|
||||
"declaration": true,
|
||||
"module": 2,
|
||||
"outFile": "./outFile.js"
|
||||
},
|
||||
"semanticDiagnosticsPerFile": [
|
||||
[
|
||||
"../tslibs/ts/lib/lib.d.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/class.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/indirectclass.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/directuse.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/indirectuse.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/nochangefile.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/nochangefilewithemitspecificerror.ts",
|
||||
"not cached or not changed"
|
||||
]
|
||||
],
|
||||
"version": "FakeTSVersion",
|
||||
"size": 1296
|
||||
}
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
|
||||
|
||||
Change:: No Change run with emit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js -b -v .
|
||||
Output::
|
||||
[[90mHH:MM:SS AM[0m] Projects in this build:
|
||||
* tsconfig.json
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors.
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
[96mtsconfig.json[0m:[93m5[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m5[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error.
|
||||
|
||||
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
|
||||
|
||||
Change:: No Change run with noEmit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js -b -v . --noEmit
|
||||
Output::
|
||||
[[90mHH:MM:SS AM[0m] Projects in this build:
|
||||
* tsconfig.json
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors.
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo]
|
||||
{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"version":"FakeTSVersion"}
|
||||
|
||||
@@ -494,50 +697,6 @@ Found 1 error.
|
||||
}
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
|
||||
|
||||
Change:: No Change run with emit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js -b -v .
|
||||
Output::
|
||||
[[90mHH:MM:SS AM[0m] Projects in this build:
|
||||
* tsconfig.json
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors.
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error.
|
||||
|
||||
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
|
||||
|
||||
Change:: No Change run with noEmit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js -b -v . --noEmit
|
||||
Output::
|
||||
[[90mHH:MM:SS AM[0m] Projects in this build:
|
||||
* tsconfig.json
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors.
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
|
||||
|
||||
|
||||
exitCode:: ExitStatus.Success
|
||||
|
||||
Change:: No Change run with noEmit
|
||||
@@ -571,10 +730,11 @@ Output::
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
[96mtsconfig.json[0m:[93m5[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m5[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error.
|
||||
@@ -602,33 +762,14 @@ Output::
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
[96msrc/directUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
[96mtsconfig.json[0m:[93m5[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/indirectUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m5[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 3 errors.
|
||||
Found 1 error.
|
||||
|
||||
|
||||
|
||||
@@ -702,6 +843,152 @@ declare module "src/noChangeFile" {
|
||||
declare function someFunc(arguments: boolean, ...rest: any[]): void;
|
||||
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo]
|
||||
{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","1786859709-export class classC {\n prop1 = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"}
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt]
|
||||
{
|
||||
"fileNames": [
|
||||
"../tslibs/ts/lib/lib.d.ts",
|
||||
"./project/src/class.ts",
|
||||
"./project/src/indirectclass.ts",
|
||||
"./project/src/directuse.ts",
|
||||
"./project/src/indirectuse.ts",
|
||||
"./project/src/nochangefile.ts",
|
||||
"./project/src/nochangefilewithemitspecificerror.ts"
|
||||
],
|
||||
"fileInfos": {
|
||||
"../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };",
|
||||
"./project/src/class.ts": "1786859709-export class classC {\n prop1 = 1;\n}",
|
||||
"./project/src/indirectclass.ts": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}",
|
||||
"./project/src/directuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",
|
||||
"./project/src/indirectuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",
|
||||
"./project/src/nochangefile.ts": "6714567633-export function writeLog(s: string) {\n}",
|
||||
"./project/src/nochangefilewithemitspecificerror.ts": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"
|
||||
},
|
||||
"root": [
|
||||
[
|
||||
[
|
||||
2,
|
||||
7
|
||||
],
|
||||
[
|
||||
"./project/src/class.ts",
|
||||
"./project/src/indirectclass.ts",
|
||||
"./project/src/directuse.ts",
|
||||
"./project/src/indirectuse.ts",
|
||||
"./project/src/nochangefile.ts",
|
||||
"./project/src/nochangefilewithemitspecificerror.ts"
|
||||
]
|
||||
]
|
||||
],
|
||||
"options": {
|
||||
"declaration": true,
|
||||
"module": 2,
|
||||
"outFile": "./outFile.js"
|
||||
},
|
||||
"semanticDiagnosticsPerFile": [
|
||||
[
|
||||
"../tslibs/ts/lib/lib.d.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/class.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/indirectclass.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/directuse.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/indirectuse.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/nochangefile.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/nochangefilewithemitspecificerror.ts",
|
||||
"not cached or not changed"
|
||||
]
|
||||
],
|
||||
"version": "FakeTSVersion",
|
||||
"size": 1298
|
||||
}
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
|
||||
|
||||
Change:: No Change run with emit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js -b -v .
|
||||
Output::
|
||||
[[90mHH:MM:SS AM[0m] Projects in this build:
|
||||
* tsconfig.json
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors.
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
[96mtsconfig.json[0m:[93m5[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m5[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error.
|
||||
|
||||
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
|
||||
|
||||
Change:: No Change run with noEmit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js -b -v . --noEmit
|
||||
Output::
|
||||
[[90mHH:MM:SS AM[0m] Projects in this build:
|
||||
* tsconfig.json
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors.
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
[96msrc/directUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/indirectUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
|
||||
Found 2 errors.
|
||||
|
||||
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo]
|
||||
{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","1786859709-export class classC {\n prop1 = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[4,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./project/src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[5,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./project/src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"version":"FakeTSVersion"}
|
||||
|
||||
@@ -810,93 +1097,6 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void;
|
||||
}
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
|
||||
|
||||
Change:: No Change run with emit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js -b -v .
|
||||
Output::
|
||||
[[90mHH:MM:SS AM[0m] Projects in this build:
|
||||
* tsconfig.json
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors.
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
[96msrc/directUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/indirectUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 3 errors.
|
||||
|
||||
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
|
||||
|
||||
Change:: No Change run with noEmit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js -b -v . --noEmit
|
||||
Output::
|
||||
[[90mHH:MM:SS AM[0m] Projects in this build:
|
||||
* tsconfig.json
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors.
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
[96msrc/directUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/indirectUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
|
||||
Found 2 errors.
|
||||
|
||||
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
|
||||
|
||||
Change:: No Change run with noEmit
|
||||
@@ -953,33 +1153,14 @@ Output::
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
[96msrc/directUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
[96mtsconfig.json[0m:[93m5[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/indirectUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m5[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 3 errors.
|
||||
Found 1 error.
|
||||
|
||||
|
||||
|
||||
@@ -1089,10 +1270,11 @@ Output::
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
[96mtsconfig.json[0m:[93m5[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m5[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error.
|
||||
@@ -1284,10 +1466,11 @@ Output::
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
[96mtsconfig.json[0m:[93m5[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m5[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error.
|
||||
|
||||
@@ -60,10 +60,11 @@ Output::
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
[96mtsconfig.json[0m:[93m4[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m4[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error.
|
||||
@@ -120,6 +121,101 @@ function someFunc(arguments) {
|
||||
}
|
||||
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo]
|
||||
{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"}
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt]
|
||||
{
|
||||
"fileNames": [
|
||||
"../tslibs/ts/lib/lib.d.ts",
|
||||
"./project/src/class.ts",
|
||||
"./project/src/indirectclass.ts",
|
||||
"./project/src/directuse.ts",
|
||||
"./project/src/indirectuse.ts",
|
||||
"./project/src/nochangefile.ts",
|
||||
"./project/src/nochangefilewithemitspecificerror.ts"
|
||||
],
|
||||
"fileInfos": {
|
||||
"../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };",
|
||||
"./project/src/class.ts": "545032748-export class classC {\n prop = 1;\n}",
|
||||
"./project/src/indirectclass.ts": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}",
|
||||
"./project/src/directuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",
|
||||
"./project/src/indirectuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",
|
||||
"./project/src/nochangefile.ts": "6714567633-export function writeLog(s: string) {\n}",
|
||||
"./project/src/nochangefilewithemitspecificerror.ts": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"
|
||||
},
|
||||
"root": [
|
||||
[
|
||||
[
|
||||
2,
|
||||
7
|
||||
],
|
||||
[
|
||||
"./project/src/class.ts",
|
||||
"./project/src/indirectclass.ts",
|
||||
"./project/src/directuse.ts",
|
||||
"./project/src/indirectuse.ts",
|
||||
"./project/src/nochangefile.ts",
|
||||
"./project/src/nochangefilewithemitspecificerror.ts"
|
||||
]
|
||||
]
|
||||
],
|
||||
"options": {
|
||||
"module": 2,
|
||||
"outFile": "./outFile.js"
|
||||
},
|
||||
"semanticDiagnosticsPerFile": [
|
||||
[
|
||||
"../tslibs/ts/lib/lib.d.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/class.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/indirectclass.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/directuse.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/indirectuse.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/nochangefile.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/nochangefilewithemitspecificerror.ts",
|
||||
"not cached or not changed"
|
||||
]
|
||||
],
|
||||
"version": "FakeTSVersion",
|
||||
"size": 1277
|
||||
}
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
|
||||
|
||||
Change:: No Change run with noEmit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js -b -v . --noEmit
|
||||
Output::
|
||||
[[90mHH:MM:SS AM[0m] Projects in this build:
|
||||
* tsconfig.json
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors.
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo]
|
||||
{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"version":"FakeTSVersion"}
|
||||
|
||||
@@ -183,24 +279,6 @@ function someFunc(arguments) {
|
||||
}
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
|
||||
|
||||
Change:: No Change run with noEmit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js -b -v . --noEmit
|
||||
Output::
|
||||
[[90mHH:MM:SS AM[0m] Projects in this build:
|
||||
* tsconfig.json
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors.
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
|
||||
|
||||
|
||||
exitCode:: ExitStatus.Success
|
||||
|
||||
Change:: No Change run with noEmit
|
||||
@@ -395,10 +473,11 @@ Output::
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
[96mtsconfig.json[0m:[93m4[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m4[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error.
|
||||
@@ -406,6 +485,128 @@ Found 1 error.
|
||||
|
||||
|
||||
//// [/home/src/workspaces/outFile.js] file written with same contents
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo]
|
||||
{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"}
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt]
|
||||
{
|
||||
"fileNames": [
|
||||
"../tslibs/ts/lib/lib.d.ts",
|
||||
"./project/src/class.ts",
|
||||
"./project/src/indirectclass.ts",
|
||||
"./project/src/directuse.ts",
|
||||
"./project/src/indirectuse.ts",
|
||||
"./project/src/nochangefile.ts",
|
||||
"./project/src/nochangefilewithemitspecificerror.ts"
|
||||
],
|
||||
"fileInfos": {
|
||||
"../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };",
|
||||
"./project/src/class.ts": "545032748-export class classC {\n prop = 1;\n}",
|
||||
"./project/src/indirectclass.ts": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}",
|
||||
"./project/src/directuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",
|
||||
"./project/src/indirectuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",
|
||||
"./project/src/nochangefile.ts": "6714567633-export function writeLog(s: string) {\n}",
|
||||
"./project/src/nochangefilewithemitspecificerror.ts": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"
|
||||
},
|
||||
"root": [
|
||||
[
|
||||
[
|
||||
2,
|
||||
7
|
||||
],
|
||||
[
|
||||
"./project/src/class.ts",
|
||||
"./project/src/indirectclass.ts",
|
||||
"./project/src/directuse.ts",
|
||||
"./project/src/indirectuse.ts",
|
||||
"./project/src/nochangefile.ts",
|
||||
"./project/src/nochangefilewithemitspecificerror.ts"
|
||||
]
|
||||
]
|
||||
],
|
||||
"options": {
|
||||
"module": 2,
|
||||
"outFile": "./outFile.js"
|
||||
},
|
||||
"semanticDiagnosticsPerFile": [
|
||||
[
|
||||
"../tslibs/ts/lib/lib.d.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/class.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/indirectclass.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/directuse.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/indirectuse.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/nochangefile.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/nochangefilewithemitspecificerror.ts",
|
||||
"not cached or not changed"
|
||||
]
|
||||
],
|
||||
"version": "FakeTSVersion",
|
||||
"size": 1277
|
||||
}
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
|
||||
|
||||
Change:: No Change run with emit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js -b -v .
|
||||
Output::
|
||||
[[90mHH:MM:SS AM[0m] Projects in this build:
|
||||
* tsconfig.json
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors.
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
[96mtsconfig.json[0m:[93m4[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m4[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error.
|
||||
|
||||
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
|
||||
|
||||
Change:: No Change run with noEmit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js -b -v . --noEmit
|
||||
Output::
|
||||
[[90mHH:MM:SS AM[0m] Projects in this build:
|
||||
* tsconfig.json
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors.
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo]
|
||||
{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"version":"FakeTSVersion"}
|
||||
|
||||
@@ -469,50 +670,6 @@ Found 1 error.
|
||||
}
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
|
||||
|
||||
Change:: No Change run with emit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js -b -v .
|
||||
Output::
|
||||
[[90mHH:MM:SS AM[0m] Projects in this build:
|
||||
* tsconfig.json
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors.
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error.
|
||||
|
||||
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
|
||||
|
||||
Change:: No Change run with noEmit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js -b -v . --noEmit
|
||||
Output::
|
||||
[[90mHH:MM:SS AM[0m] Projects in this build:
|
||||
* tsconfig.json
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors.
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
|
||||
|
||||
|
||||
exitCode:: ExitStatus.Success
|
||||
|
||||
Change:: No Change run with noEmit
|
||||
@@ -546,10 +703,11 @@ Output::
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
[96mtsconfig.json[0m:[93m4[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m4[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error.
|
||||
@@ -577,33 +735,14 @@ Output::
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
[96msrc/directUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
[96mtsconfig.json[0m:[93m4[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/indirectUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m4[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 3 errors.
|
||||
Found 1 error.
|
||||
|
||||
|
||||
|
||||
@@ -657,6 +796,151 @@ function someFunc(arguments) {
|
||||
}
|
||||
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo]
|
||||
{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","1786859709-export class classC {\n prop1 = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"}
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt]
|
||||
{
|
||||
"fileNames": [
|
||||
"../tslibs/ts/lib/lib.d.ts",
|
||||
"./project/src/class.ts",
|
||||
"./project/src/indirectclass.ts",
|
||||
"./project/src/directuse.ts",
|
||||
"./project/src/indirectuse.ts",
|
||||
"./project/src/nochangefile.ts",
|
||||
"./project/src/nochangefilewithemitspecificerror.ts"
|
||||
],
|
||||
"fileInfos": {
|
||||
"../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };",
|
||||
"./project/src/class.ts": "1786859709-export class classC {\n prop1 = 1;\n}",
|
||||
"./project/src/indirectclass.ts": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}",
|
||||
"./project/src/directuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",
|
||||
"./project/src/indirectuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",
|
||||
"./project/src/nochangefile.ts": "6714567633-export function writeLog(s: string) {\n}",
|
||||
"./project/src/nochangefilewithemitspecificerror.ts": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"
|
||||
},
|
||||
"root": [
|
||||
[
|
||||
[
|
||||
2,
|
||||
7
|
||||
],
|
||||
[
|
||||
"./project/src/class.ts",
|
||||
"./project/src/indirectclass.ts",
|
||||
"./project/src/directuse.ts",
|
||||
"./project/src/indirectuse.ts",
|
||||
"./project/src/nochangefile.ts",
|
||||
"./project/src/nochangefilewithemitspecificerror.ts"
|
||||
]
|
||||
]
|
||||
],
|
||||
"options": {
|
||||
"module": 2,
|
||||
"outFile": "./outFile.js"
|
||||
},
|
||||
"semanticDiagnosticsPerFile": [
|
||||
[
|
||||
"../tslibs/ts/lib/lib.d.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/class.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/indirectclass.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/directuse.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/indirectuse.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/nochangefile.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/nochangefilewithemitspecificerror.ts",
|
||||
"not cached or not changed"
|
||||
]
|
||||
],
|
||||
"version": "FakeTSVersion",
|
||||
"size": 1279
|
||||
}
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
|
||||
|
||||
Change:: No Change run with emit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js -b -v .
|
||||
Output::
|
||||
[[90mHH:MM:SS AM[0m] Projects in this build:
|
||||
* tsconfig.json
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors.
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
[96mtsconfig.json[0m:[93m4[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m4[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error.
|
||||
|
||||
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
|
||||
|
||||
Change:: No Change run with noEmit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js -b -v . --noEmit
|
||||
Output::
|
||||
[[90mHH:MM:SS AM[0m] Projects in this build:
|
||||
* tsconfig.json
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors.
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
[96msrc/directUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/indirectUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
|
||||
Found 2 errors.
|
||||
|
||||
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo]
|
||||
{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","1786859709-export class classC {\n prop1 = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[4,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./project/src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[5,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./project/src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"version":"FakeTSVersion"}
|
||||
|
||||
@@ -764,93 +1048,6 @@ function someFunc(arguments) {
|
||||
}
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
|
||||
|
||||
Change:: No Change run with emit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js -b -v .
|
||||
Output::
|
||||
[[90mHH:MM:SS AM[0m] Projects in this build:
|
||||
* tsconfig.json
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors.
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
[96msrc/directUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/indirectUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 3 errors.
|
||||
|
||||
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
|
||||
|
||||
Change:: No Change run with noEmit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js -b -v . --noEmit
|
||||
Output::
|
||||
[[90mHH:MM:SS AM[0m] Projects in this build:
|
||||
* tsconfig.json
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Project 'tsconfig.json' is out of date because buildinfo file '../outFile.tsbuildinfo' indicates that program needs to report errors.
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
[96msrc/directUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/indirectUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
|
||||
Found 2 errors.
|
||||
|
||||
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
|
||||
|
||||
Change:: No Change run with noEmit
|
||||
@@ -907,33 +1104,14 @@ Output::
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
[96msrc/directUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
[96mtsconfig.json[0m:[93m4[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/indirectUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m4[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 3 errors.
|
||||
Found 1 error.
|
||||
|
||||
|
||||
|
||||
@@ -1042,10 +1220,11 @@ Output::
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
[96mtsconfig.json[0m:[93m4[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m4[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error.
|
||||
@@ -1216,10 +1395,11 @@ Output::
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
[96mtsconfig.json[0m:[93m4[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m4[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error.
|
||||
|
||||
+34
-80
@@ -146,10 +146,11 @@ Output::
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
[96mtsconfig.json[0m:[93m5[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m5[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error.
|
||||
@@ -310,38 +311,19 @@ Output::
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
[96msrc/directUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
[96mtsconfig.json[0m:[93m5[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/indirectUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m5[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 3 errors.
|
||||
Found 1 error.
|
||||
|
||||
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo]
|
||||
{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","1786859709-export class classC {\n prop1 = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[4,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./project/src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[5,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./project/src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"version":"FakeTSVersion"}
|
||||
{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","1786859709-export class classC {\n prop1 = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"}
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt]
|
||||
{
|
||||
@@ -385,66 +367,37 @@ Found 3 errors.
|
||||
"outFile": "./outFile.js"
|
||||
},
|
||||
"semanticDiagnosticsPerFile": [
|
||||
[
|
||||
"../tslibs/ts/lib/lib.d.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/class.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/indirectclass.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/directuse.ts",
|
||||
[
|
||||
{
|
||||
"start": 76,
|
||||
"length": 4,
|
||||
"code": 2551,
|
||||
"category": 1,
|
||||
"messageText": "Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?",
|
||||
"relatedInformation": [
|
||||
{
|
||||
"file": "./project/src/class.ts",
|
||||
"start": 26,
|
||||
"length": 5,
|
||||
"messageText": "'prop1' is declared here.",
|
||||
"category": 3,
|
||||
"code": 2728
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/indirectuse.ts",
|
||||
[
|
||||
{
|
||||
"start": 76,
|
||||
"length": 4,
|
||||
"code": 2551,
|
||||
"category": 1,
|
||||
"messageText": "Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?",
|
||||
"relatedInformation": [
|
||||
{
|
||||
"file": "./project/src/class.ts",
|
||||
"start": 26,
|
||||
"length": 5,
|
||||
"messageText": "'prop1' is declared here.",
|
||||
"category": 3,
|
||||
"code": 2728
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/nochangefile.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/nochangefilewithemitspecificerror.ts",
|
||||
[
|
||||
{
|
||||
"start": 18,
|
||||
"length": 18,
|
||||
"messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.",
|
||||
"category": 1,
|
||||
"code": 2396,
|
||||
"skippedOn": "noEmit"
|
||||
}
|
||||
]
|
||||
"not cached or not changed"
|
||||
]
|
||||
],
|
||||
"version": "FakeTSVersion",
|
||||
"size": 2044
|
||||
"size": 1298
|
||||
}
|
||||
|
||||
//// [/home/src/workspaces/outFile.js]
|
||||
@@ -623,10 +576,11 @@ Output::
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
[96mtsconfig.json[0m:[93m5[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m5[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error.
|
||||
|
||||
+34
-80
@@ -144,10 +144,11 @@ Output::
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
[96mtsconfig.json[0m:[93m4[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m4[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error.
|
||||
@@ -287,38 +288,19 @@ Output::
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
[96msrc/directUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
[96mtsconfig.json[0m:[93m4[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/indirectUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m4[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 3 errors.
|
||||
Found 1 error.
|
||||
|
||||
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo]
|
||||
{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","1786859709-export class classC {\n prop1 = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[4,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./project/src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[5,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./project/src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"version":"FakeTSVersion"}
|
||||
{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","1786859709-export class classC {\n prop1 = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"}
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt]
|
||||
{
|
||||
@@ -361,66 +343,37 @@ Found 3 errors.
|
||||
"outFile": "./outFile.js"
|
||||
},
|
||||
"semanticDiagnosticsPerFile": [
|
||||
[
|
||||
"../tslibs/ts/lib/lib.d.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/class.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/indirectclass.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/directuse.ts",
|
||||
[
|
||||
{
|
||||
"start": 76,
|
||||
"length": 4,
|
||||
"code": 2551,
|
||||
"category": 1,
|
||||
"messageText": "Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?",
|
||||
"relatedInformation": [
|
||||
{
|
||||
"file": "./project/src/class.ts",
|
||||
"start": 26,
|
||||
"length": 5,
|
||||
"messageText": "'prop1' is declared here.",
|
||||
"category": 3,
|
||||
"code": 2728
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/indirectuse.ts",
|
||||
[
|
||||
{
|
||||
"start": 76,
|
||||
"length": 4,
|
||||
"code": 2551,
|
||||
"category": 1,
|
||||
"messageText": "Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?",
|
||||
"relatedInformation": [
|
||||
{
|
||||
"file": "./project/src/class.ts",
|
||||
"start": 26,
|
||||
"length": 5,
|
||||
"messageText": "'prop1' is declared here.",
|
||||
"category": 3,
|
||||
"code": 2728
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/nochangefile.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/nochangefilewithemitspecificerror.ts",
|
||||
[
|
||||
{
|
||||
"start": 18,
|
||||
"length": 18,
|
||||
"messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.",
|
||||
"category": 1,
|
||||
"code": 2396,
|
||||
"skippedOn": "noEmit"
|
||||
}
|
||||
]
|
||||
"not cached or not changed"
|
||||
]
|
||||
],
|
||||
"version": "FakeTSVersion",
|
||||
"size": 2025
|
||||
"size": 1279
|
||||
}
|
||||
|
||||
//// [/home/src/workspaces/outFile.js]
|
||||
@@ -578,10 +531,11 @@ Output::
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Building project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
[96mtsconfig.json[0m:[93m4[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m4[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error.
|
||||
|
||||
+27
-3
@@ -49,6 +49,12 @@ Output::
|
||||
[7m2[0m export const api = ky.extend({});
|
||||
[7m [0m [91m ~~~[0m
|
||||
|
||||
[96mtsconfig.json[0m:[93m7[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m7[0m "outFile": "./outFile.js"
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
TSFILE: /home/src/workspaces/project/outFile.js
|
||||
../../tslibs/TS/Lib/lib.d.ts
|
||||
Default library for target 'es5'
|
||||
@@ -57,8 +63,11 @@ ky.d.ts
|
||||
src/index.ts
|
||||
Matched by include pattern 'src' in 'tsconfig.json'
|
||||
|
||||
Found 1 error in src/index.ts[90m:2[0m
|
||||
Found 2 errors in 2 files.
|
||||
|
||||
Errors Files
|
||||
1 src/index.ts[90m:2[0m
|
||||
1 tsconfig.json[90m:7[0m
|
||||
|
||||
|
||||
//// [/home/src/workspaces/project/outFile.js]
|
||||
@@ -84,6 +93,12 @@ Output::
|
||||
[7m2[0m export const api = ky.extend({});
|
||||
[7m [0m [91m ~~~[0m
|
||||
|
||||
[96mtsconfig.json[0m:[93m7[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m7[0m "outFile": "./outFile.js"
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
TSFILE: /home/src/workspaces/project/outFile.js
|
||||
../../tslibs/TS/Lib/lib.d.ts
|
||||
Default library for target 'es5'
|
||||
@@ -92,8 +107,11 @@ ky.d.ts
|
||||
src/index.ts
|
||||
Matched by include pattern 'src' in 'tsconfig.json'
|
||||
|
||||
Found 1 error in src/index.ts[90m:2[0m
|
||||
Found 2 errors in 2 files.
|
||||
|
||||
Errors Files
|
||||
1 src/index.ts[90m:2[0m
|
||||
1 tsconfig.json[90m:7[0m
|
||||
|
||||
|
||||
//// [/home/src/workspaces/project/outFile.js] file written with same contents
|
||||
@@ -118,6 +136,12 @@ Output::
|
||||
[7m2[0m export const api = ky.extend({});
|
||||
[7m [0m [91m ~~~[0m
|
||||
|
||||
[96mtsconfig.json[0m:[93m7[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m7[0m "outFile": "./outFile.js"
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
TSFILE: /home/src/workspaces/project/outFile.js
|
||||
TSFILE: /home/src/workspaces/project/outFile.tsbuildinfo
|
||||
../../tslibs/TS/Lib/lib.d.ts
|
||||
@@ -129,7 +153,7 @@ src/index.ts
|
||||
[[90mHH:MM:SS AM[0m] Updating unchanged output timestamps of project '/home/src/workspaces/project/tsconfig.json'...
|
||||
|
||||
|
||||
Found 1 error.
|
||||
Found 2 errors.
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -54,13 +54,14 @@ declare const console: { log(msg: any): void; };
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p .
|
||||
Output::
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
[96mtsconfig.json[0m:[93m5[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m5[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error in src/noChangeFileWithEmitSpecificError.ts[90m:1[0m
|
||||
Found 1 error in tsconfig.json[90m:5[0m
|
||||
|
||||
|
||||
|
||||
@@ -134,6 +135,95 @@ declare module "src/noChangeFile" {
|
||||
declare function someFunc(arguments: boolean, ...rest: any[]): void;
|
||||
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo]
|
||||
{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"}
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt]
|
||||
{
|
||||
"fileNames": [
|
||||
"../tslibs/ts/lib/lib.d.ts",
|
||||
"./project/src/class.ts",
|
||||
"./project/src/indirectclass.ts",
|
||||
"./project/src/directuse.ts",
|
||||
"./project/src/indirectuse.ts",
|
||||
"./project/src/nochangefile.ts",
|
||||
"./project/src/nochangefilewithemitspecificerror.ts"
|
||||
],
|
||||
"fileInfos": {
|
||||
"../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };",
|
||||
"./project/src/class.ts": "545032748-export class classC {\n prop = 1;\n}",
|
||||
"./project/src/indirectclass.ts": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}",
|
||||
"./project/src/directuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",
|
||||
"./project/src/indirectuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",
|
||||
"./project/src/nochangefile.ts": "6714567633-export function writeLog(s: string) {\n}",
|
||||
"./project/src/nochangefilewithemitspecificerror.ts": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"
|
||||
},
|
||||
"root": [
|
||||
[
|
||||
[
|
||||
2,
|
||||
7
|
||||
],
|
||||
[
|
||||
"./project/src/class.ts",
|
||||
"./project/src/indirectclass.ts",
|
||||
"./project/src/directuse.ts",
|
||||
"./project/src/indirectuse.ts",
|
||||
"./project/src/nochangefile.ts",
|
||||
"./project/src/nochangefilewithemitspecificerror.ts"
|
||||
]
|
||||
]
|
||||
],
|
||||
"options": {
|
||||
"declaration": true,
|
||||
"module": 2,
|
||||
"outFile": "./outFile.js"
|
||||
},
|
||||
"semanticDiagnosticsPerFile": [
|
||||
[
|
||||
"../tslibs/ts/lib/lib.d.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/class.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/indirectclass.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/directuse.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/indirectuse.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/nochangefile.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/nochangefilewithemitspecificerror.ts",
|
||||
"not cached or not changed"
|
||||
]
|
||||
],
|
||||
"version": "FakeTSVersion",
|
||||
"size": 1296
|
||||
}
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
|
||||
|
||||
Change:: No Change run with noEmit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p . --noEmit
|
||||
Output::
|
||||
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo]
|
||||
{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"version":"FakeTSVersion"}
|
||||
|
||||
@@ -198,17 +288,6 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void;
|
||||
}
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
|
||||
|
||||
Change:: No Change run with noEmit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p . --noEmit
|
||||
Output::
|
||||
|
||||
|
||||
|
||||
exitCode:: ExitStatus.Success
|
||||
|
||||
Change:: No Change run with noEmit
|
||||
@@ -386,18 +465,128 @@ export class classC {
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p .
|
||||
Output::
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
[96mtsconfig.json[0m:[93m5[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m5[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error in src/noChangeFileWithEmitSpecificError.ts[90m:1[0m
|
||||
Found 1 error in tsconfig.json[90m:5[0m
|
||||
|
||||
|
||||
|
||||
//// [/home/src/workspaces/outFile.js] file written with same contents
|
||||
//// [/home/src/workspaces/outFile.d.ts] file written with same contents
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo]
|
||||
{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"}
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt]
|
||||
{
|
||||
"fileNames": [
|
||||
"../tslibs/ts/lib/lib.d.ts",
|
||||
"./project/src/class.ts",
|
||||
"./project/src/indirectclass.ts",
|
||||
"./project/src/directuse.ts",
|
||||
"./project/src/indirectuse.ts",
|
||||
"./project/src/nochangefile.ts",
|
||||
"./project/src/nochangefilewithemitspecificerror.ts"
|
||||
],
|
||||
"fileInfos": {
|
||||
"../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };",
|
||||
"./project/src/class.ts": "545032748-export class classC {\n prop = 1;\n}",
|
||||
"./project/src/indirectclass.ts": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}",
|
||||
"./project/src/directuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",
|
||||
"./project/src/indirectuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",
|
||||
"./project/src/nochangefile.ts": "6714567633-export function writeLog(s: string) {\n}",
|
||||
"./project/src/nochangefilewithemitspecificerror.ts": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"
|
||||
},
|
||||
"root": [
|
||||
[
|
||||
[
|
||||
2,
|
||||
7
|
||||
],
|
||||
[
|
||||
"./project/src/class.ts",
|
||||
"./project/src/indirectclass.ts",
|
||||
"./project/src/directuse.ts",
|
||||
"./project/src/indirectuse.ts",
|
||||
"./project/src/nochangefile.ts",
|
||||
"./project/src/nochangefilewithemitspecificerror.ts"
|
||||
]
|
||||
]
|
||||
],
|
||||
"options": {
|
||||
"declaration": true,
|
||||
"module": 2,
|
||||
"outFile": "./outFile.js"
|
||||
},
|
||||
"semanticDiagnosticsPerFile": [
|
||||
[
|
||||
"../tslibs/ts/lib/lib.d.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/class.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/indirectclass.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/directuse.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/indirectuse.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/nochangefile.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/nochangefilewithemitspecificerror.ts",
|
||||
"not cached or not changed"
|
||||
]
|
||||
],
|
||||
"version": "FakeTSVersion",
|
||||
"size": 1296
|
||||
}
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
|
||||
|
||||
Change:: No Change run with emit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p .
|
||||
Output::
|
||||
[96mtsconfig.json[0m:[93m5[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m5[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error in tsconfig.json[90m:5[0m
|
||||
|
||||
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
|
||||
|
||||
Change:: No Change run with noEmit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p . --noEmit
|
||||
Output::
|
||||
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo]
|
||||
{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"version":"FakeTSVersion"}
|
||||
|
||||
@@ -462,36 +651,6 @@ Found 1 error in src/noChangeFileWithEmitSpecificError.ts[90m:1[0m
|
||||
}
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
|
||||
|
||||
Change:: No Change run with emit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p .
|
||||
Output::
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error in src/noChangeFileWithEmitSpecificError.ts[90m:1[0m
|
||||
|
||||
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
|
||||
|
||||
Change:: No Change run with noEmit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p . --noEmit
|
||||
Output::
|
||||
|
||||
|
||||
|
||||
exitCode:: ExitStatus.Success
|
||||
|
||||
Change:: No Change run with noEmit
|
||||
@@ -511,13 +670,14 @@ Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p .
|
||||
Output::
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
[96mtsconfig.json[0m:[93m5[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m5[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error in src/noChangeFileWithEmitSpecificError.ts[90m:1[0m
|
||||
Found 1 error in tsconfig.json[90m:5[0m
|
||||
|
||||
|
||||
|
||||
@@ -535,38 +695,15 @@ export class classC {
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p .
|
||||
Output::
|
||||
[96msrc/directUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
[96mtsconfig.json[0m:[93m5[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/indirectUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m5[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 3 errors in 3 files.
|
||||
Found 1 error in tsconfig.json[90m:5[0m
|
||||
|
||||
Errors Files
|
||||
1 src/directUse.ts[90m:2[0m
|
||||
1 src/indirectUse.ts[90m:2[0m
|
||||
1 src/noChangeFileWithEmitSpecificError.ts[90m:1[0m
|
||||
|
||||
|
||||
//// [/home/src/workspaces/outFile.js]
|
||||
@@ -639,6 +776,141 @@ declare module "src/noChangeFile" {
|
||||
declare function someFunc(arguments: boolean, ...rest: any[]): void;
|
||||
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo]
|
||||
{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","1786859709-export class classC {\n prop1 = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"}
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt]
|
||||
{
|
||||
"fileNames": [
|
||||
"../tslibs/ts/lib/lib.d.ts",
|
||||
"./project/src/class.ts",
|
||||
"./project/src/indirectclass.ts",
|
||||
"./project/src/directuse.ts",
|
||||
"./project/src/indirectuse.ts",
|
||||
"./project/src/nochangefile.ts",
|
||||
"./project/src/nochangefilewithemitspecificerror.ts"
|
||||
],
|
||||
"fileInfos": {
|
||||
"../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };",
|
||||
"./project/src/class.ts": "1786859709-export class classC {\n prop1 = 1;\n}",
|
||||
"./project/src/indirectclass.ts": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}",
|
||||
"./project/src/directuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",
|
||||
"./project/src/indirectuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",
|
||||
"./project/src/nochangefile.ts": "6714567633-export function writeLog(s: string) {\n}",
|
||||
"./project/src/nochangefilewithemitspecificerror.ts": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"
|
||||
},
|
||||
"root": [
|
||||
[
|
||||
[
|
||||
2,
|
||||
7
|
||||
],
|
||||
[
|
||||
"./project/src/class.ts",
|
||||
"./project/src/indirectclass.ts",
|
||||
"./project/src/directuse.ts",
|
||||
"./project/src/indirectuse.ts",
|
||||
"./project/src/nochangefile.ts",
|
||||
"./project/src/nochangefilewithemitspecificerror.ts"
|
||||
]
|
||||
]
|
||||
],
|
||||
"options": {
|
||||
"declaration": true,
|
||||
"module": 2,
|
||||
"outFile": "./outFile.js"
|
||||
},
|
||||
"semanticDiagnosticsPerFile": [
|
||||
[
|
||||
"../tslibs/ts/lib/lib.d.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/class.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/indirectclass.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/directuse.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/indirectuse.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/nochangefile.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/nochangefilewithemitspecificerror.ts",
|
||||
"not cached or not changed"
|
||||
]
|
||||
],
|
||||
"version": "FakeTSVersion",
|
||||
"size": 1298
|
||||
}
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
|
||||
|
||||
Change:: No Change run with emit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p .
|
||||
Output::
|
||||
[96mtsconfig.json[0m:[93m5[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m5[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error in tsconfig.json[90m:5[0m
|
||||
|
||||
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
|
||||
|
||||
Change:: No Change run with noEmit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p . --noEmit
|
||||
Output::
|
||||
[96msrc/directUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/indirectUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
|
||||
Found 2 errors in 2 files.
|
||||
|
||||
Errors Files
|
||||
1 src/directUse.ts[90m:2[0m
|
||||
1 src/indirectUse.ts[90m:2[0m
|
||||
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo]
|
||||
{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","1786859709-export class classC {\n prop1 = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[4,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./project/src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[5,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./project/src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"version":"FakeTSVersion"}
|
||||
|
||||
@@ -749,86 +1021,6 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void;
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
|
||||
|
||||
Change:: No Change run with emit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p .
|
||||
Output::
|
||||
[96msrc/directUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/indirectUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 3 errors in 3 files.
|
||||
|
||||
Errors Files
|
||||
1 src/directUse.ts[90m:2[0m
|
||||
1 src/indirectUse.ts[90m:2[0m
|
||||
1 src/noChangeFileWithEmitSpecificError.ts[90m:1[0m
|
||||
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
|
||||
|
||||
Change:: No Change run with noEmit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p . --noEmit
|
||||
Output::
|
||||
[96msrc/directUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/indirectUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
|
||||
Found 2 errors in 2 files.
|
||||
|
||||
Errors Files
|
||||
1 src/directUse.ts[90m:2[0m
|
||||
1 src/indirectUse.ts[90m:2[0m
|
||||
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
|
||||
|
||||
Change:: No Change run with noEmit
|
||||
|
||||
Input::
|
||||
@@ -872,38 +1064,15 @@ Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p .
|
||||
Output::
|
||||
[96msrc/directUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
[96mtsconfig.json[0m:[93m5[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/indirectUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m5[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 3 errors in 3 files.
|
||||
Found 1 error in tsconfig.json[90m:5[0m
|
||||
|
||||
Errors Files
|
||||
1 src/directUse.ts[90m:2[0m
|
||||
1 src/indirectUse.ts[90m:2[0m
|
||||
1 src/noChangeFileWithEmitSpecificError.ts[90m:1[0m
|
||||
|
||||
|
||||
|
||||
@@ -998,13 +1167,14 @@ Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p .
|
||||
Output::
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
[96mtsconfig.json[0m:[93m5[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m5[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error in src/noChangeFileWithEmitSpecificError.ts[90m:1[0m
|
||||
Found 1 error in tsconfig.json[90m:5[0m
|
||||
|
||||
|
||||
|
||||
@@ -1172,13 +1342,14 @@ Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p .
|
||||
Output::
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
[96mtsconfig.json[0m:[93m5[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m5[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error in src/noChangeFileWithEmitSpecificError.ts[90m:1[0m
|
||||
Found 1 error in tsconfig.json[90m:5[0m
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -53,13 +53,14 @@ declare const console: { log(msg: any): void; };
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p .
|
||||
Output::
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
[96mtsconfig.json[0m:[93m4[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m4[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error in src/noChangeFileWithEmitSpecificError.ts[90m:1[0m
|
||||
Found 1 error in tsconfig.json[90m:4[0m
|
||||
|
||||
|
||||
|
||||
@@ -113,6 +114,94 @@ function someFunc(arguments) {
|
||||
}
|
||||
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo]
|
||||
{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"}
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt]
|
||||
{
|
||||
"fileNames": [
|
||||
"../tslibs/ts/lib/lib.d.ts",
|
||||
"./project/src/class.ts",
|
||||
"./project/src/indirectclass.ts",
|
||||
"./project/src/directuse.ts",
|
||||
"./project/src/indirectuse.ts",
|
||||
"./project/src/nochangefile.ts",
|
||||
"./project/src/nochangefilewithemitspecificerror.ts"
|
||||
],
|
||||
"fileInfos": {
|
||||
"../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };",
|
||||
"./project/src/class.ts": "545032748-export class classC {\n prop = 1;\n}",
|
||||
"./project/src/indirectclass.ts": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}",
|
||||
"./project/src/directuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",
|
||||
"./project/src/indirectuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",
|
||||
"./project/src/nochangefile.ts": "6714567633-export function writeLog(s: string) {\n}",
|
||||
"./project/src/nochangefilewithemitspecificerror.ts": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"
|
||||
},
|
||||
"root": [
|
||||
[
|
||||
[
|
||||
2,
|
||||
7
|
||||
],
|
||||
[
|
||||
"./project/src/class.ts",
|
||||
"./project/src/indirectclass.ts",
|
||||
"./project/src/directuse.ts",
|
||||
"./project/src/indirectuse.ts",
|
||||
"./project/src/nochangefile.ts",
|
||||
"./project/src/nochangefilewithemitspecificerror.ts"
|
||||
]
|
||||
]
|
||||
],
|
||||
"options": {
|
||||
"module": 2,
|
||||
"outFile": "./outFile.js"
|
||||
},
|
||||
"semanticDiagnosticsPerFile": [
|
||||
[
|
||||
"../tslibs/ts/lib/lib.d.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/class.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/indirectclass.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/directuse.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/indirectuse.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/nochangefile.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/nochangefilewithemitspecificerror.ts",
|
||||
"not cached or not changed"
|
||||
]
|
||||
],
|
||||
"version": "FakeTSVersion",
|
||||
"size": 1277
|
||||
}
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
|
||||
|
||||
Change:: No Change run with noEmit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p . --noEmit
|
||||
Output::
|
||||
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo]
|
||||
{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"version":"FakeTSVersion"}
|
||||
|
||||
@@ -176,17 +265,6 @@ function someFunc(arguments) {
|
||||
}
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
|
||||
|
||||
Change:: No Change run with noEmit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p . --noEmit
|
||||
Output::
|
||||
|
||||
|
||||
|
||||
exitCode:: ExitStatus.Success
|
||||
|
||||
Change:: No Change run with noEmit
|
||||
@@ -363,17 +441,126 @@ export class classC {
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p .
|
||||
Output::
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
[96mtsconfig.json[0m:[93m4[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m4[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error in src/noChangeFileWithEmitSpecificError.ts[90m:1[0m
|
||||
Found 1 error in tsconfig.json[90m:4[0m
|
||||
|
||||
|
||||
|
||||
//// [/home/src/workspaces/outFile.js] file written with same contents
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo]
|
||||
{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"}
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt]
|
||||
{
|
||||
"fileNames": [
|
||||
"../tslibs/ts/lib/lib.d.ts",
|
||||
"./project/src/class.ts",
|
||||
"./project/src/indirectclass.ts",
|
||||
"./project/src/directuse.ts",
|
||||
"./project/src/indirectuse.ts",
|
||||
"./project/src/nochangefile.ts",
|
||||
"./project/src/nochangefilewithemitspecificerror.ts"
|
||||
],
|
||||
"fileInfos": {
|
||||
"../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };",
|
||||
"./project/src/class.ts": "545032748-export class classC {\n prop = 1;\n}",
|
||||
"./project/src/indirectclass.ts": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}",
|
||||
"./project/src/directuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",
|
||||
"./project/src/indirectuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",
|
||||
"./project/src/nochangefile.ts": "6714567633-export function writeLog(s: string) {\n}",
|
||||
"./project/src/nochangefilewithemitspecificerror.ts": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"
|
||||
},
|
||||
"root": [
|
||||
[
|
||||
[
|
||||
2,
|
||||
7
|
||||
],
|
||||
[
|
||||
"./project/src/class.ts",
|
||||
"./project/src/indirectclass.ts",
|
||||
"./project/src/directuse.ts",
|
||||
"./project/src/indirectuse.ts",
|
||||
"./project/src/nochangefile.ts",
|
||||
"./project/src/nochangefilewithemitspecificerror.ts"
|
||||
]
|
||||
]
|
||||
],
|
||||
"options": {
|
||||
"module": 2,
|
||||
"outFile": "./outFile.js"
|
||||
},
|
||||
"semanticDiagnosticsPerFile": [
|
||||
[
|
||||
"../tslibs/ts/lib/lib.d.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/class.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/indirectclass.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/directuse.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/indirectuse.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/nochangefile.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/nochangefilewithemitspecificerror.ts",
|
||||
"not cached or not changed"
|
||||
]
|
||||
],
|
||||
"version": "FakeTSVersion",
|
||||
"size": 1277
|
||||
}
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
|
||||
|
||||
Change:: No Change run with emit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p .
|
||||
Output::
|
||||
[96mtsconfig.json[0m:[93m4[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m4[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error in tsconfig.json[90m:4[0m
|
||||
|
||||
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
|
||||
|
||||
Change:: No Change run with noEmit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p . --noEmit
|
||||
Output::
|
||||
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo]
|
||||
{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"version":"FakeTSVersion"}
|
||||
|
||||
@@ -437,36 +624,6 @@ Found 1 error in src/noChangeFileWithEmitSpecificError.ts[90m:1[0m
|
||||
}
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
|
||||
|
||||
Change:: No Change run with emit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p .
|
||||
Output::
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error in src/noChangeFileWithEmitSpecificError.ts[90m:1[0m
|
||||
|
||||
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
|
||||
|
||||
Change:: No Change run with noEmit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p . --noEmit
|
||||
Output::
|
||||
|
||||
|
||||
|
||||
exitCode:: ExitStatus.Success
|
||||
|
||||
Change:: No Change run with noEmit
|
||||
@@ -486,13 +643,14 @@ Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p .
|
||||
Output::
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
[96mtsconfig.json[0m:[93m4[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m4[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error in src/noChangeFileWithEmitSpecificError.ts[90m:1[0m
|
||||
Found 1 error in tsconfig.json[90m:4[0m
|
||||
|
||||
|
||||
|
||||
@@ -510,38 +668,15 @@ export class classC {
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p .
|
||||
Output::
|
||||
[96msrc/directUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
[96mtsconfig.json[0m:[93m4[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/indirectUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m4[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 3 errors in 3 files.
|
||||
Found 1 error in tsconfig.json[90m:4[0m
|
||||
|
||||
Errors Files
|
||||
1 src/directUse.ts[90m:2[0m
|
||||
1 src/indirectUse.ts[90m:2[0m
|
||||
1 src/noChangeFileWithEmitSpecificError.ts[90m:1[0m
|
||||
|
||||
|
||||
//// [/home/src/workspaces/outFile.js]
|
||||
@@ -594,6 +729,140 @@ function someFunc(arguments) {
|
||||
}
|
||||
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo]
|
||||
{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","1786859709-export class classC {\n prop1 = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"}
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt]
|
||||
{
|
||||
"fileNames": [
|
||||
"../tslibs/ts/lib/lib.d.ts",
|
||||
"./project/src/class.ts",
|
||||
"./project/src/indirectclass.ts",
|
||||
"./project/src/directuse.ts",
|
||||
"./project/src/indirectuse.ts",
|
||||
"./project/src/nochangefile.ts",
|
||||
"./project/src/nochangefilewithemitspecificerror.ts"
|
||||
],
|
||||
"fileInfos": {
|
||||
"../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };",
|
||||
"./project/src/class.ts": "1786859709-export class classC {\n prop1 = 1;\n}",
|
||||
"./project/src/indirectclass.ts": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}",
|
||||
"./project/src/directuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",
|
||||
"./project/src/indirectuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",
|
||||
"./project/src/nochangefile.ts": "6714567633-export function writeLog(s: string) {\n}",
|
||||
"./project/src/nochangefilewithemitspecificerror.ts": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"
|
||||
},
|
||||
"root": [
|
||||
[
|
||||
[
|
||||
2,
|
||||
7
|
||||
],
|
||||
[
|
||||
"./project/src/class.ts",
|
||||
"./project/src/indirectclass.ts",
|
||||
"./project/src/directuse.ts",
|
||||
"./project/src/indirectuse.ts",
|
||||
"./project/src/nochangefile.ts",
|
||||
"./project/src/nochangefilewithemitspecificerror.ts"
|
||||
]
|
||||
]
|
||||
],
|
||||
"options": {
|
||||
"module": 2,
|
||||
"outFile": "./outFile.js"
|
||||
},
|
||||
"semanticDiagnosticsPerFile": [
|
||||
[
|
||||
"../tslibs/ts/lib/lib.d.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/class.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/indirectclass.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/directuse.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/indirectuse.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/nochangefile.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/nochangefilewithemitspecificerror.ts",
|
||||
"not cached or not changed"
|
||||
]
|
||||
],
|
||||
"version": "FakeTSVersion",
|
||||
"size": 1279
|
||||
}
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
|
||||
|
||||
Change:: No Change run with emit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p .
|
||||
Output::
|
||||
[96mtsconfig.json[0m:[93m4[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m4[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error in tsconfig.json[90m:4[0m
|
||||
|
||||
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
|
||||
|
||||
Change:: No Change run with noEmit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p . --noEmit
|
||||
Output::
|
||||
[96msrc/directUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/indirectUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
|
||||
Found 2 errors in 2 files.
|
||||
|
||||
Errors Files
|
||||
1 src/directUse.ts[90m:2[0m
|
||||
1 src/indirectUse.ts[90m:2[0m
|
||||
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo]
|
||||
{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","1786859709-export class classC {\n prop1 = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[4,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./project/src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[5,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./project/src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"version":"FakeTSVersion"}
|
||||
|
||||
@@ -703,86 +972,6 @@ function someFunc(arguments) {
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
|
||||
|
||||
Change:: No Change run with emit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p .
|
||||
Output::
|
||||
[96msrc/directUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/indirectUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 3 errors in 3 files.
|
||||
|
||||
Errors Files
|
||||
1 src/directUse.ts[90m:2[0m
|
||||
1 src/indirectUse.ts[90m:2[0m
|
||||
1 src/noChangeFileWithEmitSpecificError.ts[90m:1[0m
|
||||
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated
|
||||
|
||||
Change:: No Change run with noEmit
|
||||
|
||||
Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p . --noEmit
|
||||
Output::
|
||||
[96msrc/directUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/indirectUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
|
||||
Found 2 errors in 2 files.
|
||||
|
||||
Errors Files
|
||||
1 src/directUse.ts[90m:2[0m
|
||||
1 src/indirectUse.ts[90m:2[0m
|
||||
|
||||
|
||||
|
||||
exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped
|
||||
|
||||
Change:: No Change run with noEmit
|
||||
|
||||
Input::
|
||||
@@ -826,38 +1015,15 @@ Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p .
|
||||
Output::
|
||||
[96msrc/directUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
[96mtsconfig.json[0m:[93m4[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/indirectUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m4[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 3 errors in 3 files.
|
||||
Found 1 error in tsconfig.json[90m:4[0m
|
||||
|
||||
Errors Files
|
||||
1 src/directUse.ts[90m:2[0m
|
||||
1 src/indirectUse.ts[90m:2[0m
|
||||
1 src/noChangeFileWithEmitSpecificError.ts[90m:1[0m
|
||||
|
||||
|
||||
|
||||
@@ -951,13 +1117,14 @@ Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p .
|
||||
Output::
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
[96mtsconfig.json[0m:[93m4[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m4[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error in src/noChangeFileWithEmitSpecificError.ts[90m:1[0m
|
||||
Found 1 error in tsconfig.json[90m:4[0m
|
||||
|
||||
|
||||
|
||||
@@ -1104,13 +1271,14 @@ Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p .
|
||||
Output::
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
[96mtsconfig.json[0m:[93m4[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m4[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error in src/noChangeFileWithEmitSpecificError.ts[90m:1[0m
|
||||
Found 1 error in tsconfig.json[90m:4[0m
|
||||
|
||||
|
||||
|
||||
|
||||
+36
-86
@@ -132,13 +132,14 @@ Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p .
|
||||
Output::
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
[96mtsconfig.json[0m:[93m5[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m5[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error in src/noChangeFileWithEmitSpecificError.ts[90m:1[0m
|
||||
Found 1 error in tsconfig.json[90m:5[0m
|
||||
|
||||
|
||||
|
||||
@@ -289,42 +290,19 @@ export class classC {
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p .
|
||||
Output::
|
||||
[96msrc/directUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
[96mtsconfig.json[0m:[93m5[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/indirectUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m5[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 3 errors in 3 files.
|
||||
Found 1 error in tsconfig.json[90m:5[0m
|
||||
|
||||
Errors Files
|
||||
1 src/directUse.ts[90m:2[0m
|
||||
1 src/indirectUse.ts[90m:2[0m
|
||||
1 src/noChangeFileWithEmitSpecificError.ts[90m:1[0m
|
||||
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo]
|
||||
{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","1786859709-export class classC {\n prop1 = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[4,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./project/src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[5,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./project/src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"version":"FakeTSVersion"}
|
||||
{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","1786859709-export class classC {\n prop1 = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"}
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt]
|
||||
{
|
||||
@@ -368,66 +346,37 @@ Errors Files
|
||||
"outFile": "./outFile.js"
|
||||
},
|
||||
"semanticDiagnosticsPerFile": [
|
||||
[
|
||||
"../tslibs/ts/lib/lib.d.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/class.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/indirectclass.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/directuse.ts",
|
||||
[
|
||||
{
|
||||
"start": 76,
|
||||
"length": 4,
|
||||
"code": 2551,
|
||||
"category": 1,
|
||||
"messageText": "Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?",
|
||||
"relatedInformation": [
|
||||
{
|
||||
"file": "./project/src/class.ts",
|
||||
"start": 26,
|
||||
"length": 5,
|
||||
"messageText": "'prop1' is declared here.",
|
||||
"category": 3,
|
||||
"code": 2728
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/indirectuse.ts",
|
||||
[
|
||||
{
|
||||
"start": 76,
|
||||
"length": 4,
|
||||
"code": 2551,
|
||||
"category": 1,
|
||||
"messageText": "Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?",
|
||||
"relatedInformation": [
|
||||
{
|
||||
"file": "./project/src/class.ts",
|
||||
"start": 26,
|
||||
"length": 5,
|
||||
"messageText": "'prop1' is declared here.",
|
||||
"category": 3,
|
||||
"code": 2728
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/nochangefile.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/nochangefilewithemitspecificerror.ts",
|
||||
[
|
||||
{
|
||||
"start": 18,
|
||||
"length": 18,
|
||||
"messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.",
|
||||
"category": 1,
|
||||
"code": 2396,
|
||||
"skippedOn": "noEmit"
|
||||
}
|
||||
]
|
||||
"not cached or not changed"
|
||||
]
|
||||
],
|
||||
"version": "FakeTSVersion",
|
||||
"size": 2044
|
||||
"size": 1298
|
||||
}
|
||||
|
||||
//// [/home/src/workspaces/outFile.js]
|
||||
@@ -592,13 +541,14 @@ Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p .
|
||||
Output::
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
[96mtsconfig.json[0m:[93m5[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m5[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error in src/noChangeFileWithEmitSpecificError.ts[90m:1[0m
|
||||
Found 1 error in tsconfig.json[90m:5[0m
|
||||
|
||||
|
||||
|
||||
|
||||
+36
-86
@@ -130,13 +130,14 @@ Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p .
|
||||
Output::
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
[96mtsconfig.json[0m:[93m4[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m4[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error in src/noChangeFileWithEmitSpecificError.ts[90m:1[0m
|
||||
Found 1 error in tsconfig.json[90m:4[0m
|
||||
|
||||
|
||||
|
||||
@@ -266,42 +267,19 @@ export class classC {
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p .
|
||||
Output::
|
||||
[96msrc/directUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
[96mtsconfig.json[0m:[93m4[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/indirectUse.ts[0m:[93m2[0m:[93m28[0m - [91merror[0m[90m TS2551: [0mProperty 'prop' does not exist on type 'classC'. Did you mean 'prop1'?
|
||||
|
||||
[7m2[0m new indirectClass().classC.prop;
|
||||
[7m [0m [91m ~~~~[0m
|
||||
|
||||
[96msrc/class.ts[0m:[93m2[0m:[93m5[0m
|
||||
[7m2[0m prop1 = 1;
|
||||
[7m [0m [96m ~~~~~[0m
|
||||
'prop1' is declared here.
|
||||
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m4[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 3 errors in 3 files.
|
||||
Found 1 error in tsconfig.json[90m:4[0m
|
||||
|
||||
Errors Files
|
||||
1 src/directUse.ts[90m:2[0m
|
||||
1 src/indirectUse.ts[90m:2[0m
|
||||
1 src/noChangeFileWithEmitSpecificError.ts[90m:1[0m
|
||||
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo]
|
||||
{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","1786859709-export class classC {\n prop1 = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[[4,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./project/src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[5,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./project/src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"version":"FakeTSVersion"}
|
||||
{"fileNames":["../tslibs/ts/lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","1786859709-export class classC {\n prop1 = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"module":2,"outFile":"./outFile.js"},"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7],"version":"FakeTSVersion"}
|
||||
|
||||
//// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt]
|
||||
{
|
||||
@@ -344,66 +322,37 @@ Errors Files
|
||||
"outFile": "./outFile.js"
|
||||
},
|
||||
"semanticDiagnosticsPerFile": [
|
||||
[
|
||||
"../tslibs/ts/lib/lib.d.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/class.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/indirectclass.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/directuse.ts",
|
||||
[
|
||||
{
|
||||
"start": 76,
|
||||
"length": 4,
|
||||
"code": 2551,
|
||||
"category": 1,
|
||||
"messageText": "Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?",
|
||||
"relatedInformation": [
|
||||
{
|
||||
"file": "./project/src/class.ts",
|
||||
"start": 26,
|
||||
"length": 5,
|
||||
"messageText": "'prop1' is declared here.",
|
||||
"category": 3,
|
||||
"code": 2728
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/indirectuse.ts",
|
||||
[
|
||||
{
|
||||
"start": 76,
|
||||
"length": 4,
|
||||
"code": 2551,
|
||||
"category": 1,
|
||||
"messageText": "Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?",
|
||||
"relatedInformation": [
|
||||
{
|
||||
"file": "./project/src/class.ts",
|
||||
"start": 26,
|
||||
"length": 5,
|
||||
"messageText": "'prop1' is declared here.",
|
||||
"category": 3,
|
||||
"code": 2728
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/nochangefile.ts",
|
||||
"not cached or not changed"
|
||||
],
|
||||
[
|
||||
"./project/src/nochangefilewithemitspecificerror.ts",
|
||||
[
|
||||
{
|
||||
"start": 18,
|
||||
"length": 18,
|
||||
"messageText": "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.",
|
||||
"category": 1,
|
||||
"code": 2396,
|
||||
"skippedOn": "noEmit"
|
||||
}
|
||||
]
|
||||
"not cached or not changed"
|
||||
]
|
||||
],
|
||||
"version": "FakeTSVersion",
|
||||
"size": 2025
|
||||
"size": 1279
|
||||
}
|
||||
|
||||
//// [/home/src/workspaces/outFile.js]
|
||||
@@ -547,13 +496,14 @@ Input::
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js --p .
|
||||
Output::
|
||||
[96msrc/noChangeFileWithEmitSpecificError.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2396: [0mDuplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.
|
||||
[96mtsconfig.json[0m:[93m4[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m1[0m function someFunc(arguments: boolean, ...rest: any[]) {
|
||||
[7m [0m [91m ~~~~~~~~~~~~~~~~~~[0m
|
||||
[7m4[0m "outFile": "../outFile.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error in src/noChangeFileWithEmitSpecificError.ts[90m:1[0m
|
||||
Found 1 error in tsconfig.json[90m:4[0m
|
||||
|
||||
|
||||
|
||||
|
||||
+7
-1
@@ -33,6 +33,12 @@ declare const console: { log(msg: any): void; };
|
||||
|
||||
/home/src/tslibs/TS/Lib/tsc.js
|
||||
Output::
|
||||
[96mtsconfig.json[0m:[93m4[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m4[0m "outFile": "theApp.js"
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
[96mtsconfig.json[0m:[93m7[0m:[93m5[0m - [91merror[0m[90m TS6053: [0mFile '/home/src/workspaces/Util/Dates' not found.
|
||||
|
||||
[7m7[0m {
|
||||
@@ -43,7 +49,7 @@ Output::
|
||||
[7m [0m [91m~~~~~[0m
|
||||
|
||||
|
||||
Found 1 error in tsconfig.json[90m:7[0m
|
||||
Found 2 errors in the same file, starting at: tsconfig.json[90m:4[0m
|
||||
|
||||
|
||||
|
||||
|
||||
+5
-9
@@ -46,10 +46,11 @@ Output::
|
||||
>> Screen clear
|
||||
[[90mHH:MM:SS AM[0m] Starting compilation in watch mode...
|
||||
|
||||
[96msrc/main2.ts[0m:[93m1[0m:[93m114[0m - [91merror[0m[90m TS2724: [0m'Common.SomeComponent.DynamicMenu' has no exported member named 'z'. Did you mean 'Z'?
|
||||
[96mtsconfig.json[0m:[93m3[0m:[93m5[0m - [91merror[0m[90m TS5011: [0mThe common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
|
||||
Visit https://aka.ms/ts6 for migration information.
|
||||
|
||||
[7m1[0m namespace main.file4 { import DynamicMenu = Common.SomeComponent.DynamicMenu; export function foo(a: DynamicMenu.z) { } }
|
||||
[7m [0m [91m ~[0m
|
||||
[7m3[0m "outFile": "../output/common.js",
|
||||
[7m [0m [91m ~~~~~~~~~[0m
|
||||
|
||||
[[90mHH:MM:SS AM[0m] Found 1 error. Watching for file changes.
|
||||
|
||||
@@ -116,12 +117,7 @@ Program files::
|
||||
/home/src/projects/a/b/project/src/main.ts
|
||||
/home/src/projects/a/b/project/src/main2.ts
|
||||
|
||||
Semantic diagnostics in builder refreshed for::
|
||||
/home/src/tslibs/TS/Lib/lib.d.ts
|
||||
/home/src/projects/a/b/output/AnotherDependency/file1.d.ts
|
||||
/home/src/projects/a/b/dependencies/file2.d.ts
|
||||
/home/src/projects/a/b/project/src/main.ts
|
||||
/home/src/projects/a/b/project/src/main2.ts
|
||||
No cached semantic diagnostics in the builder::
|
||||
|
||||
No shapes updated in the builder::
|
||||
|
||||
|
||||
+78
-2
@@ -168,7 +168,45 @@ Info seq [hh:mm:ss:mss] event:
|
||||
"body": {
|
||||
"triggerFile": "/user/username/projects/myproject/app1/app.ts",
|
||||
"configFile": "/user/username/projects/myproject/app1/tsconfig.json",
|
||||
"diagnostics": []
|
||||
"diagnostics": [
|
||||
{
|
||||
"text": "File '/user/username/projects/myproject/core/core.ts' is not under 'rootDir' '/user/username/projects/myproject/app1'. 'rootDir' is expected to contain all source files.\n The file is in the program because:\n Part of 'files' list in tsconfig.json",
|
||||
"code": 6059,
|
||||
"category": "error",
|
||||
"relatedInformation": [
|
||||
{
|
||||
"span": {
|
||||
"start": {
|
||||
"line": 4,
|
||||
"offset": 5
|
||||
},
|
||||
"end": {
|
||||
"line": 4,
|
||||
"offset": 22
|
||||
},
|
||||
"file": "/user/username/projects/myproject/app1/tsconfig.json"
|
||||
},
|
||||
"message": "File is matched by 'files' list specified here.",
|
||||
"category": "message",
|
||||
"code": 1410
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"start": {
|
||||
"line": 7,
|
||||
"offset": 5
|
||||
},
|
||||
"end": {
|
||||
"line": 7,
|
||||
"offset": 14
|
||||
},
|
||||
"text": "The common source directory of 'tsconfig.json' is '..'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"code": 5011,
|
||||
"category": "error",
|
||||
"fileName": "/user/username/projects/myproject/app1/tsconfig.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/app1/tsconfig.json' (Configured)
|
||||
@@ -344,7 +382,45 @@ Info seq [hh:mm:ss:mss] event:
|
||||
"body": {
|
||||
"triggerFile": "/user/username/projects/myproject/app2/app.ts",
|
||||
"configFile": "/user/username/projects/myproject/app2/tsconfig.json",
|
||||
"diagnostics": []
|
||||
"diagnostics": [
|
||||
{
|
||||
"text": "File '/user/username/projects/myproject/core/core.ts' is not under 'rootDir' '/user/username/projects/myproject/app2'. 'rootDir' is expected to contain all source files.\n The file is in the program because:\n Part of 'files' list in tsconfig.json",
|
||||
"code": 6059,
|
||||
"category": "error",
|
||||
"relatedInformation": [
|
||||
{
|
||||
"span": {
|
||||
"start": {
|
||||
"line": 4,
|
||||
"offset": 5
|
||||
},
|
||||
"end": {
|
||||
"line": 4,
|
||||
"offset": 22
|
||||
},
|
||||
"file": "/user/username/projects/myproject/app2/tsconfig.json"
|
||||
},
|
||||
"message": "File is matched by 'files' list specified here.",
|
||||
"category": "message",
|
||||
"code": 1410
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"start": {
|
||||
"line": 7,
|
||||
"offset": 5
|
||||
},
|
||||
"end": {
|
||||
"line": 7,
|
||||
"offset": 14
|
||||
},
|
||||
"text": "The common source directory of 'tsconfig.json' is '..'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"code": 5011,
|
||||
"category": "error",
|
||||
"fileName": "/user/username/projects/myproject/app2/tsconfig.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/app1/tsconfig.json' (Configured)
|
||||
|
||||
+78
-2
@@ -168,7 +168,45 @@ Info seq [hh:mm:ss:mss] event:
|
||||
"body": {
|
||||
"triggerFile": "/user/username/projects/myproject/app1/app.ts",
|
||||
"configFile": "/user/username/projects/myproject/app1/tsconfig.json",
|
||||
"diagnostics": []
|
||||
"diagnostics": [
|
||||
{
|
||||
"text": "File '/user/username/projects/myproject/core/core.ts' is not under 'rootDir' '/user/username/projects/myproject/app1'. 'rootDir' is expected to contain all source files.\n The file is in the program because:\n Part of 'files' list in tsconfig.json",
|
||||
"code": 6059,
|
||||
"category": "error",
|
||||
"relatedInformation": [
|
||||
{
|
||||
"span": {
|
||||
"start": {
|
||||
"line": 4,
|
||||
"offset": 5
|
||||
},
|
||||
"end": {
|
||||
"line": 4,
|
||||
"offset": 22
|
||||
},
|
||||
"file": "/user/username/projects/myproject/app1/tsconfig.json"
|
||||
},
|
||||
"message": "File is matched by 'files' list specified here.",
|
||||
"category": "message",
|
||||
"code": 1410
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"start": {
|
||||
"line": 7,
|
||||
"offset": 5
|
||||
},
|
||||
"end": {
|
||||
"line": 7,
|
||||
"offset": 14
|
||||
},
|
||||
"text": "The common source directory of 'tsconfig.json' is '..'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"code": 5011,
|
||||
"category": "error",
|
||||
"fileName": "/user/username/projects/myproject/app1/tsconfig.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/app1/tsconfig.json' (Configured)
|
||||
@@ -344,7 +382,45 @@ Info seq [hh:mm:ss:mss] event:
|
||||
"body": {
|
||||
"triggerFile": "/user/username/projects/myproject/app2/app.ts",
|
||||
"configFile": "/user/username/projects/myproject/app2/tsconfig.json",
|
||||
"diagnostics": []
|
||||
"diagnostics": [
|
||||
{
|
||||
"text": "File '/user/username/projects/myproject/core/core.ts' is not under 'rootDir' '/user/username/projects/myproject/app2'. 'rootDir' is expected to contain all source files.\n The file is in the program because:\n Part of 'files' list in tsconfig.json",
|
||||
"code": 6059,
|
||||
"category": "error",
|
||||
"relatedInformation": [
|
||||
{
|
||||
"span": {
|
||||
"start": {
|
||||
"line": 4,
|
||||
"offset": 5
|
||||
},
|
||||
"end": {
|
||||
"line": 4,
|
||||
"offset": 22
|
||||
},
|
||||
"file": "/user/username/projects/myproject/app2/tsconfig.json"
|
||||
},
|
||||
"message": "File is matched by 'files' list specified here.",
|
||||
"category": "message",
|
||||
"code": 1410
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"start": {
|
||||
"line": 7,
|
||||
"offset": 5
|
||||
},
|
||||
"end": {
|
||||
"line": 7,
|
||||
"offset": 14
|
||||
},
|
||||
"text": "The common source directory of 'tsconfig.json' is '..'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.\n Visit https://aka.ms/ts6 for migration information.",
|
||||
"code": 5011,
|
||||
"category": "error",
|
||||
"fileName": "/user/username/projects/myproject/app2/tsconfig.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/app1/tsconfig.json' (Configured)
|
||||
|
||||
Reference in New Issue
Block a user